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 6322f8d commit 399a054Copy full SHA for 399a054
.github/workflows/npmRelease.yml
@@ -0,0 +1,21 @@
1
+name: Release npm Package
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ # Setup .npmrc file to publish to npm
13
+ - uses: actions/setup-node@v2
14
+ with:
15
+ node-version: '18.x'
16
+ registry-url: 'https://registry.npmjs.org'
17
+ - run: npm install
18
+ - run: npm run build
19
+ - run: npm publish
20
+ env:
21
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
.npmignore
@@ -0,0 +1,6 @@
+.idea
+.github
+.gitignore
+node_modules
+src
+README.md
0 commit comments