Skip to content

Commit 32e3b84

Browse files
committed
chore: change npm trusted publish
1 parent f5262b4 commit 32e3b84

File tree

2 files changed

+6074
-1
lines changed

2 files changed

+6074
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
- name: Enable corepack
3737
run: corepack enable
3838

39+
- name: Update npm
40+
run: npm install -g npm@latest
41+
3942
- name: Extract version tag
4043
if: startsWith( github.ref, 'refs/tags/v' )
4144
uses: jungwinter/split@v2
@@ -68,7 +71,7 @@ jobs:
6871
- name: Publish package for NPM
6972
run: ./scripts/release.sh
7073
env:
71-
NPM_TOKEN: ${{secrets.NPM_ORG_TOKEN}}
74+
NPM_CONFIG_PROVENANCE: true
7275

7376
- name: Publish package for JSR
7477
run: npx jsr publish

0 commit comments

Comments
 (0)