diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index d657bbc..0a909a6 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -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: