File tree Expand file tree Collapse file tree 2 files changed +38
-14
lines changed Expand file tree Collapse file tree 2 files changed +38
-14
lines changed Original file line number Diff line number Diff line change 1+ name : Run checks
2+ on : [push, pull_request]
3+ jobs :
4+ run-checks :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - name : Cancel Previous Runs
8+ uses : styfle/cancel-workflow-action@0.4.0
9+ with :
10+ access_token : ${{ github.token }}
11+ - name : Checkout code
12+ uses : actions/checkout@v1
13+ - name : Install Node.js 10
14+ uses : actions/setup-node@v1
15+ with :
16+ node-version : 10
17+ - name : Setup cache
18+ uses : bahmutov/npm-install@HEAD
19+ - name : Install dependencies
20+ run : npm t
21+ - name : Test and build code
22+ run : yarn validate
23+ - name : Upload test reports
24+ uses : codecov/codecov-action@v1
25+ - name : Semantic Release
26+ uses : cycjimmy/semantic-release-action@v2
27+ env :
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
30+ with :
31+ branches : |
32+ [
33+ 'master',
34+ {
35+ name: 'beta',
36+ prerelease: true
37+ }
38+ ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments