Skip to content

Commit

Permalink
When publishing to NPM, build against the same Node we tested against
Browse files Browse the repository at this point in the history
For N-API builds this shouldn't matter, but currently the latest Node
headers don't let us build correctly on Windows, so we need to pin
to *something*.
  • Loading branch information
jrose-signal committed Nov 9, 2021
1 parent 7681db8 commit ba8e5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- run: yarn install --ignore-scripts --frozen-lockfile
working-directory: node

- run: npx prebuildify --napi
- run: npx prebuildify --napi -t ${{ steps.get-nvm-version.outputs.node-version }}
working-directory: node

- name: Upload library
Expand Down

0 comments on commit ba8e5b4

Please sign in to comment.