Skip to content

Commit f81610d

Browse files
committed
ci(release): support trusted publishing without npm token
1 parent c7f1e3b commit f81610d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
node-version: 22
2828
registry-url: https://registry.npmjs.org
2929

30+
- name: Update npm
31+
run: npm install -g npm@latest
32+
3033
- name: Install dependencies
3134
run: bun install
3235

@@ -35,5 +38,3 @@ jobs:
3538

3639
- name: Publish npm package
3740
run: npm publish --access public --provenance
38-
env:
39-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)