Skip to content

Commit e6aa1c4

Browse files
committed
test only in Node 18+
1 parent 521f663 commit e6aa1c4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ jobs:
1313
strategy:
1414
matrix:
1515
node-version:
16-
- "14.17"
17-
- 16
16+
- 18.0.0
17+
- 19
18+
- 20
1819
os:
1920
- ubuntu-latest
2021
runs-on: "${{ matrix.os }}"
@@ -25,7 +26,7 @@ jobs:
2526
with:
2627
node-version: "${{ matrix.node-version }}"
2728
cache: npm
28-
- run: npm ci
29+
- run: npm clean-install
2930
- run: npm test
3031
test:
3132
runs-on: ubuntu-latest
@@ -34,11 +35,10 @@ jobs:
3435
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
3536
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
3637
with:
37-
node-version: 16
38+
node-version: "lts/*"
3839
cache: npm
39-
- run: npm ci
40-
# Blocked by https://github.com/ljharb/ls-engines/pull/23
41-
# - name: Ensure dependencies are compatible with the version of node
42-
# run: npx ls-engines
40+
- run: npm clean-install
41+
- run: npm audit signatures
42+
- name: Ensure dependencies are compatible with the version of node
43+
run: npx ls-engines
4344
- run: npm run lint
44-
- run: npx lockfile-lint --path package-lock.json

0 commit comments

Comments
 (0)