Skip to content

Commit d1a6ade

Browse files
authored
chore: update GH actions to use trusted publisher (#3161)
1 parent 2deae10 commit d1a6ade

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/publication.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44

55
name: Publication
66

7+
permissions:
8+
contents: write
9+
id-token: write
10+
packages: write
11+
712
jobs:
813
publication:
914
runs-on: ubuntu-latest
@@ -18,7 +23,8 @@ jobs:
1823
- run: npm ci
1924
- run: npm publish
2025
env:
21-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
26+
NODE_AUTH_TOKEN: ''
27+
NPM_TOKEN: ''
2228
- run: npm run build:embedded:archive
2329
- run: gh release upload ${{ github.event.release.tag_name }} $ASSET_NAME.zip
2430
env:

0 commit comments

Comments
 (0)