Skip to content

Commit

Permalink
Update to latest version of npm for publishing (#61644)
Browse files Browse the repository at this point in the history
Seems #61641 also did not resolve
the `npm publish` error so going to upgrade to latest version as well as
we pinned to a previous major.

Closes NEXT-2354
  • Loading branch information
ijjk authored Feb 5, 2024
1 parent 2a824e9 commit b44b7eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ jobs:
merge-multiple: true
path: packages/next-swc/crates/wasm

- run: npm i -g npm@9.6.7 # need latest version for provenance (pinning to avoid bugs)
- run: npm i -g npm@10.4.0 # need latest version for provenance (pinning to avoid bugs)
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run: ./scripts/publish-native.js
- run: ./scripts/publish-release.js
Expand Down

0 comments on commit b44b7eb

Please sign in to comment.