Skip to content

Commit 30695f3

Browse files
authored
Migrated GitHub Actions workflow to using the Trusted Publishers (OIDC) (#77)
Added permission for id-token and removed NODE_AUTH_TOKEN from publish step.
1 parent 42a8292 commit 30695f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
permissions:
2+
id-token: write # Required for OIDC
23
contents: read
4+
35
name: 🚀 release
46

57
on:
@@ -53,5 +55,3 @@ jobs:
5355
run: npm test -- test/build-artifacts.spec.ts
5456
- name: ✉️ publish
5557
run: npm publish --verbose --access public --tag latest
56-
env:
57-
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

0 commit comments

Comments
 (0)