Skip to content

Commit 1ade026

Browse files
committed
ci(publish): setup OIDC for NPM publish
1 parent 00808d4 commit 1ade026

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ env:
99
WASM_PACK_VERSION: 0.13.1
1010
RUST_VERSION: '1.77'
1111

12+
permissions:
13+
id-token: write
14+
1215
jobs:
1316
publish-stremio-core-web:
1417
if: ${{ startsWith(github.ref, 'refs/tags/stremio-core-web') }}
@@ -45,6 +48,4 @@ jobs:
4548

4649
- name: Publish to NPM
4750
working-directory: stremio-core-web
48-
env:
49-
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
5051
run: npm publish --access public

0 commit comments

Comments
 (0)