Skip to content

Commit 75545fa

Browse files
authored
feat(node-version): raised the minimum required version to v14.17 (#118)
BREAKING CHANGE: minimum node version is now v14.17
1 parent 171dd22 commit 75545fa

File tree

3 files changed

+328
-204
lines changed

3 files changed

+328
-204
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,33 @@ name: Test
99
- opened
1010
- synchronize
1111
jobs:
12+
test_matrix:
13+
strategy:
14+
matrix:
15+
node-version:
16+
- '14.17'
17+
- 16
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v2
23+
with:
24+
cache: npm
25+
node-version: ${{ matrix.node-version }}
26+
- run: npm ci
27+
- name: Ensure dependencies are compatible with the version of node
28+
run: npx ls-engines
29+
- run: npm test
1230
test:
1331
runs-on: ubuntu-latest
32+
needs: test_matrix
1433
steps:
1534
- uses: actions/checkout@v2
1635
- uses: actions/setup-node@v2
1736
with:
37+
node-version: lts/*
1838
cache: npm
19-
node-version: 16
2039
- run: npm ci
21-
- run: npm test
40+
- run: npm run lint
41+
- run: npx lockfile-lint --path package-lock.json

0 commit comments

Comments
 (0)