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 f3f292b commit 5b09896Copy full SHA for 5b09896
.github/workflows/publish.yml
@@ -0,0 +1,28 @@
1
+name: Publish to NPM
2
+
3
+on:
4
+ release:
5
+ types: [ published ]
6
7
+jobs:
8
+ deploy:
9
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v3
15
16
+ - name: Set up Node
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: 16.x
20
+ registry-url: https://registry.npmjs.org/
21
22
+ - name: Install dependencies
23
+ run: yarn && yarn install
24
25
+ - name: Build and publish
26
+ env:
27
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
28
+ run: yarn build && yarn publish
.npmignore
@@ -0,0 +1,3 @@
+development
+scripts
+tests
0 commit comments