[fix] Fixed CI/CD
This commit is contained in:
@@ -12,12 +12,10 @@ jobs:
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18'
|
||||
- name: Change directory
|
||||
run: cd frontend
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: cd frontend && npm install
|
||||
- name: Linting
|
||||
run: npm run lint
|
||||
run: cd frontend && npm run lint
|
||||
|
||||
build_and_push:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -30,12 +28,10 @@ jobs:
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18'
|
||||
- name: Change directory
|
||||
run: cd frontend
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: cd frontend && npm install
|
||||
- name: Build
|
||||
run: npm run build
|
||||
run: cd frontend && npm run build
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user