Skip to content

Commit

Permalink
Update to use latest npm CLI release
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 committed Feb 15, 2023
1 parent ad58006 commit 273579b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/create-release-from-tag.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 273579b

Please sign in to comment.