Skip to content

Commit a7f5478

Browse files
authored
Use trusted publishing flow for publishing npm package (#1155)
1 parent 86f1978 commit a7f5478

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
permissions:
99
contents: write
10+
id-token: write # Required for OIDC
1011

1112
jobs:
1213
release:
@@ -56,8 +57,6 @@ jobs:
5657
run: just build
5758

5859
- run: npm publish
59-
env:
60-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6160

6261
- name: Publish to PyPI
6362
uses: pypa/gh-action-pypi-publish@v1.12.3

0 commit comments

Comments
 (0)