We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d5ffb37 + 45bd04b commit 15bade5Copy full SHA for 15bade5
1 file changed
.github/workflows/publish-npm.yml
@@ -2,6 +2,10 @@ name: Publish to NPM Registry
2
on:
3
release:
4
types: [created]
5
+
6
+permissions:
7
+ contents: write # we need to read secrets
8
9
jobs:
10
build:
11
runs-on: ubuntu-latest
@@ -15,4 +19,4 @@ jobs:
15
19
- name: Publish package on NPM 📦
16
20
run: npm publish
17
21
env:
18
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments