Skip to content

Commit 890f765

Browse files
authored
chore: Publishes to npm with provenance flag (#456)
1 parent 7f2d0f6 commit 890f765

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ jobs:
7474
- name: Restore build artifact permissions
7575
run: cd dist && setfacl --restore=permissions-backup.acl
7676
continue-on-error: true
77-
- name: Release
77+
- name: Publish to npm with provenance
7878
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
79+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
80+
run: |
81+
cd dist/js
82+
npm publish --provenance --access public --tag latest
8383
- name: Extract Version
8484
id: extract-version
8585
if: ${{ failure() }}

0 commit comments

Comments
 (0)