Skip to content

Commit 540d359

Browse files
authored
use npm trusted publishing (#904)
Signed-off-by: Brian DeHamer <[email protected]>
1 parent 1df771b commit 540d359

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/weak-ads-lick.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
registry-url: 'https://registry.npmjs.org'
2828
cache: npm
2929

30+
- name: Install npm w/ OIDC support
31+
run: npm install -g npm/cli#oidc
32+
3033
- name: Install dependencies
3134
run: npm ci
3235

@@ -36,4 +39,3 @@ jobs:
3639
publish: npm run release
3740
env:
3841
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)