We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0ac933 commit 673543aCopy full SHA for 673543a
.github/workflows/release.yml
@@ -62,6 +62,7 @@ jobs:
62
permissions:
63
contents: read
64
issues: write
65
+ id-token: write # required for provenance
66
steps:
67
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
68
with:
@@ -76,10 +77,9 @@ jobs:
76
77
continue-on-error: true
78
- name: Publish to npm with provenance
79
env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
80
- run: |
81
- cd dist/js
82
- npm publish --provenance --access public --tag latest
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
+ NPM_CONFIG_PROVENANCE: true
+ run: npx -p publib@latest publib-npm
83
- name: Extract Version
84
id: extract-version
85
if: ${{ failure() }}
0 commit comments