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 3ee4c27 commit 93e5193Copy full SHA for 93e5193
.github/workflows/deploy.yml
@@ -0,0 +1,25 @@
1
+name: automatic deploy
2
+on:
3
+ push:
4
+ tags:
5
+ - v*
6
+jobs:
7
+ release:
8
+ name: deploy
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: checkout
12
+ uses: actions/checkout@v1
13
+ - name: setup Node
14
+ uses: actions/setup-node@v1
15
+ with:
16
+ node-version: '14.x'
17
+ registry-url: 'https://registry.npmjs.org'
18
+ - name: ci
19
+ run: npm ci
20
+ - name: build
21
+ run: npm run build
22
+ - name: deploy
23
+ run: npm publish
24
+ env:
25
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments