Skip to content

Commit e75602c

Browse files
dotericEryk Kolodziej
authored andcommitted
Chore: Setup publishing npm package via trusted publisher
1 parent ef7466c commit e75602c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [created]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
build_and_publish:
912
runs-on: ubuntu-latest
@@ -24,3 +27,4 @@ jobs:
2427
npm publish --provenance
2528
env:
2629
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
# TODO: Consider using NPM trusted publisher when multi file support added

0 commit comments

Comments
 (0)