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 422f0e6 commit cba92faCopy full SHA for cba92fa
.github/workflows/build.yml
@@ -21,7 +21,6 @@ jobs:
21
run: yarn
22
- name: Lint
23
run: yarn lint
24
-
25
- name: "Build"
26
run: yarn build
27
- name: Upload build
.github/workflows/publish.yml
@@ -0,0 +1,27 @@
1
+name: Publish
2
+
3
+on:
4
+ push:
5
+ tags: [ '*' ]
6
7
+jobs:
8
+ publish:
9
+ runs-on: windows-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Use Node.js 12.x
13
+ uses: actions/setup-node@v1
14
+ with:
15
+ node-version: 12.x
16
+ - name: Install yarn
17
+ run: npm install -g yarn
18
+ - name: Install deps
19
+ run: yarn
20
+ - name: Lint
+ run: yarn lint
+ - name: "Build"
+ run: yarn build
+ - name: Publish
+ uses: JS-DevTools/npm-publish@v1
+ token: ${{ secrets.NPM_TOKEN }}
0 commit comments