Skip to content

Commit bc7a1bd

Browse files
committed
add a separate test for super-legacy node versions
1 parent 81829fb commit bc7a1bd

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,29 @@ jobs:
3535
- run: pnpm install
3636
- run: pnpm test
3737

38+
super-legacy-node-test:
39+
name: "Super Legacy Node Test"
40+
runs-on: ubuntu-latest
41+
timeout-minutes: 5
42+
strategy:
43+
fail-fast: false
44+
matrix:
45+
node-version:
46+
- "0.10"
47+
- "0.12"
48+
- 4
49+
50+
steps:
51+
- uses: actions/checkout@v6
52+
# use the built-in npm for these super old tests
53+
- run: cat package.json | jq "del(.packageManager)" | tee package.json
54+
- uses: actions/setup-node@v6
55+
with:
56+
node-version: ${{ matrix.node-version }}
57+
cache: npm
58+
- run: npm install
59+
- run: npm test
60+
3861
legacy-node-test:
3962
name: "Legacy Node Test"
4063
runs-on: ubuntu-latest
@@ -43,10 +66,6 @@ jobs:
4366
fail-fast: false
4467
matrix:
4568
node-version:
46-
- 0.10
47-
- 0.12
48-
- 4
49-
- 5
5069
- 6
5170
- 8
5271
- 10

0 commit comments

Comments
 (0)