Skip to content

Commit

Permalink
Run npm scripts on using bash so Windows can find commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Mercer committed Jun 29, 2022
1 parent 7ebbfcb commit 79ec03f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,12 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: npm run-script test
run: npm run-script test
- name: npm test
run: |
# Run any commands referenced in package.json using Bash, otherwise
# we won't be able to find them on Windows.
npm config set script-shell bash
npm test
runner-analyze-javascript-ubuntu:
name: Runner ubuntu JS analyze
Expand Down

0 comments on commit 79ec03f

Please sign in to comment.