Skip to content

Commit 24e0de9

Browse files
committed
fix: switch release workflow to npm trusted publishing
1 parent d9abf68 commit 24e0de9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ jobs:
2929
uses: actions/setup-node@v4
3030
with:
3131
node-version: 22
32-
registry-url: https://registry.npmjs.org
3332
cache: npm
3433

34+
- name: Upgrade npm CLI for Trusted Publishing
35+
run: npm install -g npm@latest
36+
3537
- name: Install dependencies
3638
run: npm ci
3739

@@ -44,7 +46,5 @@ jobs:
4446
- name: Release
4547
env:
4648
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
48-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4949
NPM_CONFIG_PROVENANCE: true
5050
run: npx semantic-release

0 commit comments

Comments
 (0)