File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 22 push :
33 tags :
44 - ' v*'
5+ name : Release
6+
7+ jobs :
8+ release :
9+ name : Publish Package
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@master
14+ with :
15+ fetch-depth : 3
16+ - name : Check package version
17+ uses : technote-space/ga-package-version-checker@v1
18+ with :
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20+ - name : Install Package dependencies
21+ run : yarn install
22+ - name : Test
23+ run : yarn test
24+ - name : Build
25+ run : yarn build
26+ - name : Publish
27+ uses : actions/npm@master
28+ env :
29+ NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
30+ with :
31+ args : publish
32+ - uses : 8398a7/action-slack@v1
33+ with :
34+ type : failure
35+ env :
36+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
38+ if : failure()
You can’t perform that action at this time.
0 commit comments