Skip to content

Commit a460c8a

Browse files
authored
Merge pull request #97 from Staffbase/fix-deployment
Fix NPM publishing
2 parents 15bade5 + 051b770 commit a460c8a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
types: [created]
55

66
permissions:
7-
contents: write # we need to read secrets
7+
contents: read # we need to read secrets
8+
id-token: write
89

910
jobs:
1011
build:
@@ -17,6 +18,6 @@ jobs:
1718
with:
1819
registry-url: 'https://registry.npmjs.org'
1920
- name: Publish package on NPM 📦
20-
run: npm publish
21+
run: npm publish --access public
2122
env:
2223
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)