Skip to content

Commit

Permalink
use working directory instead of cd
Browse files Browse the repository at this point in the history
  • Loading branch information
acrantel authored Jun 28, 2023
1 parent dae5b0f commit 0d02e21
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,16 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install package dependencies
run: cd frontend2 && npm install
run: npm install
working-directory: ./frontend2
- name: Check linting and formatting
# Custom script for checking the linting and formatting being in place
run: cd frontend2 && npm run lint
run: npm run lint
working-directory: ./frontend2
# Run test cases and this could ensure minimum coverage as well if set
- name: Execute test cases
run: cd frontend2 && npm run test
run: npm run test
working-directory: ./frontend2
lint:
name: Linter (pre-commit)
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0d02e21

Please sign in to comment.