Skip to content

Commit

Permalink
Update to use latest npm CLI release (#94)
Browse files Browse the repository at this point in the history
The new version has provenance support built in.

npm/cli#6163
  • Loading branch information
feelepxyz authored Feb 15, 2023
1 parent f3f516c commit a0e744f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ jobs:
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache: npm
- name: Install latest npm version
run: npm install -g npm@latest
- name: Install dependencies and build
run: npm ci
- name: Publish package
run: npm exec npm@npm/cli#provenance -- publish --provenance
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit a0e744f

Please sign in to comment.