We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed496a2 commit a72b75cCopy full SHA for a72b75c
.github/workflows/publish.yml
@@ -0,0 +1,29 @@
1
+name: NPM Package
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: actions/setup-node@v3
13
+ with:
14
+ node-version: 16
15
+ - run: npm ci
16
17
+ publish-npm:
18
+ needs: build
19
20
21
22
23
24
25
+ registry-url: https://registry.npmjs.org/
26
27
+ - run: npm publish
28
+ env:
29
+ NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
0 commit comments