Skip to content

Commit 3345acd

Browse files
committed
Update test matrix, packages
1 parent 11c6ee1 commit 3345acd

File tree

5 files changed

+4882
-4358
lines changed

5 files changed

+4882
-4358
lines changed

.github/workflows/build.yml

+10-12
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
name: Build
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions/setup-node@v2
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
1919
with:
20-
node-version: '16'
20+
node-version: 'latest'
2121
cache: 'npm'
2222
- run: npm ci
2323
- run: npm run build
@@ -26,10 +26,10 @@ jobs:
2626
name: Lint
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v2
30-
- uses: actions/setup-node@v2
29+
- uses: actions/checkout@v3
30+
- uses: actions/setup-node@v3
3131
with:
32-
node-version: '16'
32+
node-version: 'latest'
3333
cache: 'npm'
3434
- run: npm ci
3535
- run: npm run lint
@@ -42,19 +42,17 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
# 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]
4646

4747
steps:
48-
- uses: actions/checkout@v2
48+
- uses: actions/checkout@v3
4949
- name: Use Node.js ${{ matrix.node-version }}
50-
uses: actions/setup-node@v2
50+
uses: actions/setup-node@v3
5151
with:
5252
node-version: ${{ matrix.node-version }}
5353
cache: 'npm'
5454
- 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
5855
- run: npm test
56+
- run: npm run report -- --reporter text >> $GITHUB_STEP_SUMMARY
5957
# Currently broken
6058
#- run: npm run node-coveralls

0 commit comments

Comments
 (0)