This repository was archived by the owner on Nov 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +17384
-7674
lines changed Expand file tree Collapse file tree 6 files changed +17384
-7674
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ branches : [ main ]
6+
7+ # Allows you to run this workflow manually from the Actions tab
8+ workflow_dispatch :
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v2
17+
18+ - name : Install dependencies
19+ run : npm ci
20+
21+ - name : Lint
22+ run : npm run lint
23+
24+ - name : Unit Test
25+ run : npm test
26+
27+ - name : Build
28+ run : npm run build
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+
7+ # Allows you to run this workflow manually from the Actions tab
8+ workflow_dispatch :
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v2
16+
17+ - name : Install dependencies
18+ run : npm ci
19+
20+ - name : Lint
21+ run : npm run lint
22+
23+ - name : Unit Test
24+ run : npm test
25+
26+ - name : Build
27+ run : npm run build
28+
29+ - name : Semantic Release
30+ env :
31+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
33+ run : npm run semantic-release
Original file line number Diff line number Diff line change 1+ {
2+ "branches" : [" master" ],
3+ "dryRun" : true
4+ }
You can’t perform that action at this time.
0 commit comments