From d42fab11c36e41e1d22e91e3a481ea34e611108c Mon Sep 17 00:00:00 2001 From: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Sun, 30 Jul 2023 19:07:29 -0700 Subject: [PATCH] Work around https://github.com/npm/cli/issues/6126 --- .github/workflows/node-gyp.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node-gyp.yml b/.github/workflows/node-gyp.yml index a7ee64b8..a39a5ede 100644 --- a/.github/workflows/node-gyp.yml +++ b/.github/workflows/node-gyp.yml @@ -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}"