We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be67320 commit 1367e86Copy full SHA for 1367e86
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,20 @@
1
+name: Publish Package to npmjs
2
+on:
3
+ push:
4
+ tags:
5
+ - "v*"
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: read
11
+ id-token: write
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-node@v4
15
+ with:
16
+ node-version: '20.x'
17
+ registry-url: 'https://registry.npmjs.org'
18
+ - run: npm publish --provenance --access public
19
+ env:
20
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments