File tree Expand file tree Collapse file tree 3 files changed +65
-46
lines changed Expand file tree Collapse file tree 3 files changed +65
-46
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : ESLint check
2+ on :
3+ push :
4+ jobs :
5+ lint :
6+ runs-on : ${{ matrix.os }}
7+ strategy :
8+ matrix :
9+ os : [ubuntu-latest]
10+ node-version : [12.x]
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Setup node ${{ matrix.node-version }} in ${{ runner.OS }}
14+ uses : actions/setup-node@v1
15+ with :
16+ node-version : ${{ matrix.node-version }}
17+ - name : Cache Node.js modules
18+ uses : actions/cache@v2
19+ with :
20+ path : ~/.npm
21+ key : ${{ runner.OS }}-${{ matrix.node-version }}-node-${{ hashFiles('**/package-lock.json') }}
22+ restore-keys : |
23+ ${{ runner.OS }}-${{ matrix.node-version }}-node-
24+ ${{ runner.OS }}-${{ matrix.node-version }}-
25+ ${{ runner.OS }}-
26+ - name : Install node modules
27+ run : |
28+ npm install
29+ npm run lerna-bootstrap
30+ - run : npm run lint
Original file line number Diff line number Diff line change 1+ name : Test
2+ on :
3+ push :
4+ branches :
5+ - master
6+ - develop
7+ pull_request :
8+ jobs :
9+ test :
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ matrix :
13+ os : [ubuntu-latest]
14+ node-version : [10.x, 12.x, 14.x]
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Setup node ${{ matrix.node-version }} in ${{ runner.OS }}
18+ uses : actions/setup-node@v1
19+ with :
20+ node-version : ${{ matrix.node-version }}
21+ - name : Cache Node.js modules
22+ uses : actions/cache@v2
23+ with :
24+ path : ~/.npm
25+ key : ${{ runner.OS }}-${{ matrix.node-version }}-node-${{ hashFiles('**/package-lock.json') }}
26+ restore-keys : |
27+ ${{ runner.OS }}-${{ matrix.node-version }}-node-
28+ ${{ runner.OS }}-${{ matrix.node-version }}-
29+ ${{ runner.OS }}-
30+ - name : Install node modules
31+ run : |
32+ npm install
33+ npm run lerna-bootstrap
34+ - run : npm run test:ci
35+ - run : npm run test:coverage
You can’t perform that action at this time.
0 commit comments