Skip to content

Commit 2b104c1

Browse files
ci: switch to npm trusted publishing (OIDC) (#46)
Co-authored-by: Dhravya Shah <dhravyashah@gmail.com>
1 parent 4893468 commit 2b104c1

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
- name: Setup Node
2121
uses: actions/setup-node@v4
2222
with:
23-
registry-url: "https://registry.npmjs.org"
23+
node-version: '24'
24+
registry-url: 'https://registry.npmjs.org'
2425

2526
- name: Setup Bun
2627
uses: oven-sh/setup-bun@v2
@@ -52,7 +53,4 @@ jobs:
5253

5354
- name: Publish
5455
if: steps.version-check.outputs.changed == 'true'
55-
run: npm publish --access public
56-
env:
57-
NPM_CONFIG_PROVENANCE: true
58-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
56+
run: npm publish --access public --provenance

0 commit comments

Comments
 (0)