Skip to content

Commit 873903f

Browse files
committed
ci: trusted publisher
1 parent 009c421 commit 873903f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fetch-depth: 0
2020

2121
- name: Install pnpm
22-
uses: pnpm/action-setup@v2
22+
uses: pnpm/action-setup@v4.1.0
2323

2424
- name: Set node
2525
uses: actions/setup-node@v4
@@ -37,7 +37,4 @@ jobs:
3737
run: pnpm i
3838

3939
- name: Publish to NPM
40-
run: pnpm -r publish --access public --no-git-checks
41-
env:
42-
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
43-
NPM_CONFIG_PROVENANCE: true
40+
run: npm i -g npm && pnpm -r publish --access public --no-git-checks

0 commit comments

Comments
 (0)