File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches : [master]
5+ pull_request :
6+ branches : [master]
7+ jobs :
8+ build-and-test :
9+ name : ' ${{ matrix.platform }}: node.js ${{ matrix.node-version }}'
10+ strategy :
11+ matrix :
12+ platform : [ubuntu-latest, windows-2019, macos-latest]
13+ node-version : [14]
14+ runs-on : ${{ matrix.platform }}
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v3
18+ with :
19+ fetch-depth : 0
20+ - name : Set up Node.js
21+ uses : actions/setup-node@v3
22+ with :
23+ node-version : ${{ matrix.node-version }}
24+ - name : Install
25+ run : npm ci
26+ - name : Bootstrap
27+ run : npm run bootstrap
28+ - name : Lint
29+ run : npm run lint
30+ - name : Test
31+ run : npm run test
32+ - name : Build
33+ run : npx lerna run build
34+ - name : Check Commit Message
35+ run : npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments