Skip to content

Commit

Permalink
Work around npm/cli#6126
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 committed Jul 31, 2023
1 parent 161cd48 commit d42fab1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/node-gyp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@ jobs:
shell: bash
run: |
cd node-gyp
npm config set python "${pythonLocation}"
npm test
npm test --python="${pythonLocation}"
- name: Run tests (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
cd node-gyp
npm config set python "${env:pythonLocation}"
npm run test
npm run test --python="${env:pythonLocation}"

0 comments on commit d42fab1

Please sign in to comment.