Skip to content

Commit fa4e533

Browse files
feelepxyzpiyushDG
authored andcommitted
Update to use latest npm CLI release (#94)
The new version has provenance support built in. npm/cli#6163
1 parent a6135fe commit fa4e533

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/create-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ jobs:
2020
node-version: 18
2121
registry-url: 'https://registry.npmjs.org'
2222
cache: npm
23+
- name: Install latest npm version
24+
run: npm install -g npm@latest
2325
- name: Install dependencies and build
2426
run: npm ci
2527
- name: Publish package
26-
run: npm exec npm@npm/cli#provenance -- publish --provenance
28+
run: npm publish --provenance
2729
env:
2830
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2931

0 commit comments

Comments
 (0)