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 : Test
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - master
7+
8+ jobs :
9+ linux :
10+ name : " Node ${{ matrix.node }} on Linux: Test and Lint"
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ node :
15+ - 10
16+ - 12
17+ steps :
18+ - uses : actions/checkout@v2
19+ with :
20+ fetch-depth : 0
21+ - uses : actions/setup-node@v2
22+ with :
23+ node-version : ${{ matrix.node }}
24+ cache : npm
25+ - uses : browser-actions/setup-chrome@latest
26+ - run : npm ci
27+ - run : npm run lint
28+ - run : npm run test
29+ windows :
30+ name : " Node ${{ matrix.node }} on Windows: Test and Lint"
31+ runs-on : windows-latest
32+ defaults :
33+ run :
34+ shell : bash
35+ strategy :
36+ matrix :
37+ node :
38+ - 10
39+ - 12
40+ steps :
41+ - uses : actions/checkout@v2
42+ - uses : actions/setup-node@v2
43+ with :
44+ node-version : ${{ matrix.node }}
45+ cache : npm
46+ - run : npm ci
47+ - run : npm run test
You can’t perform that action at this time.
0 commit comments