We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 286bc70 commit 35da86aCopy full SHA for 35da86a
.github/workflows/publish-npm-package.yml
@@ -28,6 +28,9 @@ jobs:
28
node-version: '20.x'
29
registry-url: 'https://registry.npmjs.org'
30
31
+ - name: Upgrade npm for trusted publishing
32
+ run: npm install -g npm@latest
33
+
34
- name: Install dependencies
35
run: |
36
if [ -e yarn.lock ]; then
@@ -39,5 +42,5 @@ jobs:
39
42
fi
40
43
41
44
- name: Publish npm package to registry
- run: npm publish
45
+ run: npm publish --provenance
46
0 commit comments