Skip to content

Commit 15bade5

Browse files
authored
Merge pull request #96 from Staffbase/Ninerian-publish-try
Update publish-npm.yml
2 parents d5ffb37 + 45bd04b commit 15bade5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish-npm.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Publish to NPM Registry
22
on:
33
release:
44
types: [created]
5+
6+
permissions:
7+
contents: write # we need to read secrets
8+
59
jobs:
610
build:
711
runs-on: ubuntu-latest
@@ -15,4 +19,4 @@ jobs:
1519
- name: Publish package on NPM 📦
1620
run: npm publish
1721
env:
18-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)