Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit bb472a1

Browse files
committed
chore(ci): ensure latest and lts are tested
1 parent fb03ceb commit bb472a1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
- uses: actions/setup-node@v2
1616
with:
1717
cache: npm
18-
node-version: 16
18+
node-version: 'lts/*'
19+
check-latest: true
1920
- run: npm ci
2021
- run: npx semantic-release
2122
env:

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
matrix:
1515
node-version:
1616
- '14.17'
17-
- 16
17+
- 'lts/*'
18+
- '*'
1819
runs-on: ubuntu-latest
1920
steps:
2021
- uses: actions/checkout@v2
@@ -24,6 +25,7 @@ jobs:
2425
with:
2526
node-version: ${{ matrix.node-version }}
2627
cache: npm
28+
check-latest: true
2729
- run: npm ci
2830
# waiting on https://github.com/ljharb/ls-engines/pull/23 to be fixed
2931
# - name: Ensure dependencies are compatible with the version of node
@@ -37,6 +39,7 @@ jobs:
3739
- uses: actions/setup-node@v2
3840
with:
3941
cache: npm
40-
node-version: 16
42+
node-version: 'lts/*'
43+
check-latest: true
4144
- run: npm ci
4245
- run: npm run lint

0 commit comments

Comments
 (0)