We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32bc26e commit 3745165Copy full SHA for 3745165
.github/workflows/npm-publish.yml
@@ -45,6 +45,12 @@ jobs:
45
node-version: 22.x
46
registry-url: https://registry.npmjs.org/
47
48
+ - name: Upgrade npm for Trusted Publishing
49
+ run: |
50
+ npm install -g npm@latest
51
+ npm --version
52
+ node --version
53
+
54
- name: Install dependencies
55
run: npm ci
56
@@ -56,9 +62,7 @@ jobs:
62
57
63
- name: Publish to npm
58
64
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
59
- env:
60
- NPM_CONFIG_PROVENANCE: true
61
- run: npm publish --access public --provenance
65
+ run: npm publish --access public
66
67
create_release:
68
name: Create GitHub Release
0 commit comments