Skip to content

Commit 7d1cd9a

Browse files
committed
npm provedance
1 parent 911c971 commit 7d1cd9a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,9 @@ jobs:
126126
continue-on-error: true
127127
- name: Publish to npm with provenance
128128
env:
129-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
130-
run: |
131-
cd dist/js
132-
npm publish --provenance --access public --tag latest
129+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
130+
NPM_CONFIG_PROVENANCE: true
131+
run: npx -p publib@latest publib-npm
133132
- name: Extract Version
134133
id: extract-version
135134
if: ${{ failure() }}

0 commit comments

Comments
 (0)