Run npm scripts on using bash so Windows can find commands
This commit is contained in:
parent
7ebbfcbbdd
commit
79ec03f3e5
1 changed files with 6 additions and 2 deletions
8
.github/workflows/pr-checks.yml
vendored
8
.github/workflows/pr-checks.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue