chore: pin to npm@9.6.7 (#51044)

This might fix the npm publish error

```
Error: Command failed with exit code 254 (Unknown system error -254): npm publish /home/runner/work/next.js/next.js/packages/next --access public --tag canary
```


https://github.com/vercel/next.js/actions/runs/5219901558/jobs/9422546478#step:11:9353
This commit is contained in:
Steven 2023-06-09 10:58:32 -04:00 committed by GitHub
parent 55b29fb351
commit f1f5734e91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -374,7 +374,7 @@ jobs:
name: wasm-binaries
path: packages/next-swc/crates/wasm
- run: npm i -g npm@9 # need latest version for provenance
- run: npm i -g npm@9.6.7 # need latest version for provenance (pinning to avoid bugs)
- run: npm i -g pnpm@${PNPM_VERSION}
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run: ./scripts/publish-native.js