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 0fbde2a commit 4789a2eCopy full SHA for 4789a2e
.github/workflows/release-package.yml
@@ -0,0 +1,19 @@
1
+name: Publish Package to npmjs
2
+on:
3
+ release:
4
+ types: [created]
5
+
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ # Setup .npmrc file to publish to npm
12
+ - uses: actions/setup-node@v3
13
+ with:
14
+ node-version: '16.10.0'
15
+ registry-url: 'https://registry.npmjs.org'
16
+ - run: npm ci
17
+ - run: npm publish
18
+ env:
19
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments