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 7f2d0f6 commit 890f765Copy full SHA for 890f765
.github/workflows/release.yml
@@ -74,12 +74,12 @@ jobs:
74
- name: Restore build artifact permissions
75
run: cd dist && setfacl --restore=permissions-backup.acl
76
continue-on-error: true
77
- - name: Release
+ - name: Publish to npm with provenance
78
env:
79
- NPM_DIST_TAG: latest
80
- NPM_REGISTRY: registry.npmjs.org
81
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
82
- run: npx -p publib@latest publib-npm
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+ run: |
+ cd dist/js
+ npm publish --provenance --access public --tag latest
83
- name: Extract Version
84
id: extract-version
85
if: ${{ failure() }}
0 commit comments