File tree Expand file tree Collapse file tree 3 files changed +49
-1
lines changed
Expand file tree Collapse file tree 3 files changed +49
-1
lines changed Original file line number Diff line number Diff line change 1+ on : push
2+ name : Check package version
3+ jobs :
4+ checkVersion :
5+ name : Check package version
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v1
9+ with :
10+ fetch-depth : 3
11+ - name : Check package version
12+ uses : technote-space/ga-package-version-checker@v1
13+ with :
14+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
15+ TEST_TAG_PREFIX : test/
16+ BRANCH_PREFIX : release/
Original file line number Diff line number Diff line change 55name : Release
66
77jobs :
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()
39+
840 pages :
941 name : Publish GitHub Pages
1042 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11{
22 "name" : " jquery.marker-animation" ,
3- "version" : " 1.3.18 " ,
3+ "version" : " 1.4.0 " ,
44 "description" : " Marker animation jQuery plugin" ,
55 "main" : " jquery.marker-animation.min.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments