We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9d8399 + 4ddefe7 commit 95f04e4Copy full SHA for 95f04e4
1 file changed
.github/workflows/npm-publish.yml
@@ -2,6 +2,9 @@ name: Publish to NPM
2
on:
3
release:
4
types: [published]
5
+permissions:
6
+ id-token: write
7
+ contents: read
8
jobs:
9
publish:
10
runs-on: ubuntu-latest
@@ -19,5 +22,3 @@ jobs:
19
22
run: npm version "${GITHUB_REF#refs/tags/}" --no-git-tag-version --allow-same-version
20
23
- name: Publish
21
24
run: npm publish --access public
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments