File tree Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Expand file tree Collapse file tree 1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14- name : Node ${{ matrix.node-version }}
14+ name : Build
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v2
18+ - uses : actions/setup-node@v2
19+ with :
20+ node-version : ' 16'
21+ cache : ' npm'
22+ - run : npm ci
23+ - run : npm build
24+
25+ lint :
26+ name : Lint
27+ runs-on : ubuntu-latest
28+ steps :
29+ - uses : actions/checkout@v2
30+ - uses : actions/setup-node@v2
31+ with :
32+ node-version : ' 16'
33+ cache : ' npm'
34+ - run : npm ci
35+ - run : npm lint
36+
37+ test :
38+ name : Test node ${{ matrix.node-version }}
1539 runs-on : ubuntu-latest
1640
1741 strategy :
1842 matrix :
19- node-version : [12.x, 14.x, 16.x]
2043 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
44+ node-version : [12.x, 14.x, 16.x, 17.x]
45+ include :
46+ - node-version : 12.x
47+ ts-node-compiler-options : ' {"target":"es2019"}'
2148
2249 steps :
2350 - uses : actions/checkout@v2
2754 node-version : ${{ matrix.node-version }}
2855 cache : ' npm'
2956 - run : npm ci
30- - run : npm run build
3157 - run : npm test
58+ env :
59+ TS_NODE_COMPILER_OPTIONS : ${{ matrix.ts-node-compiler-options }}
3260 # Currently broken
3361 # - run: npm run node-coveralls
You can’t perform that action at this time.
0 commit comments