Skip to content

Commit 5915454

Browse files
committed
Run coveralls only for lts
1 parent a01598a commit 5915454

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,39 @@ jobs:
3737
- name: Test
3838
run: npm test
3939

40+
back-compat-oldest-node:
41+
runs-on: ubuntu-latest
42+
43+
strategy:
44+
matrix:
45+
node-version: [16.x]
46+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
47+
48+
steps:
49+
- name: Checkout
50+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
51+
52+
- name: Use Node.js ${{ matrix.node-version }}
53+
uses: actions/setup-node@v4
54+
with:
55+
node-version: ${{ matrix.node-version }}
56+
cache: "npm"
57+
58+
- name: Install
59+
run: npm ci --ignore-scripts
60+
61+
- name: Build
62+
run: npm run build --if-present
63+
64+
- name: Test
65+
run: npm test
66+
4067
build:
4168
runs-on: ubuntu-latest
4269

4370
strategy:
4471
matrix:
45-
node-version: [16.x, lts/*]
72+
node-version: [lts/*]
4673
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
4774

4875
steps:

0 commit comments

Comments
 (0)