@@ -14,10 +14,10 @@ jobs:
14
14
name : Build
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - uses : actions/checkout@v2
18
- - uses : actions/setup-node@v2
17
+ - uses : actions/checkout@v3
18
+ - uses : actions/setup-node@v3
19
19
with :
20
- node-version : ' 16 '
20
+ node-version : ' latest '
21
21
cache : ' npm'
22
22
- run : npm ci
23
23
- run : npm run build
@@ -26,10 +26,10 @@ jobs:
26
26
name : Lint
27
27
runs-on : ubuntu-latest
28
28
steps :
29
- - uses : actions/checkout@v2
30
- - uses : actions/setup-node@v2
29
+ - uses : actions/checkout@v3
30
+ - uses : actions/setup-node@v3
31
31
with :
32
- node-version : ' 16 '
32
+ node-version : ' latest '
33
33
cache : ' npm'
34
34
- run : npm ci
35
35
- run : npm run lint
@@ -42,19 +42,17 @@ jobs:
42
42
fail-fast : false
43
43
matrix :
44
44
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
45
- node-version : [12.x, 14.x, 16.x, 17 .x]
45
+ node-version : [14.x, 16.x, 18 .x]
46
46
47
47
steps :
48
- - uses : actions/checkout@v2
48
+ - uses : actions/checkout@v3
49
49
- name : Use Node.js ${{ matrix.node-version }}
50
- uses : actions/setup-node@v2
50
+ uses : actions/setup-node@v3
51
51
with :
52
52
node-version : ${{ matrix.node-version }}
53
53
cache : ' npm'
54
54
- run : npm ci
55
- - name : Target older ts version for nodejs 12
56
- if : matrix.node-version == '12.x'
57
- run : echo "TS_NODE_COMPILER_OPTIONS={\"target\":\"es2019\"}" >> $GITHUB_ENV
58
55
- run : npm test
56
+ - run : npm run report -- --reporter text >> $GITHUB_STEP_SUMMARY
59
57
# Currently broken
60
58
# - run: npm run node-coveralls
0 commit comments