Skip to content

Commit f7b74c4

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

1 file changed

Lines changed: 23 additions & 4 deletions

File tree

.github/workflows/ci.yml

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

38-
legacy-node-test:
38+
super-legacy-node-test:
3939
name: "Legacy Node Test"
4040
runs-on: ubuntu-latest
4141
timeout-minutes: 5
4242
strategy:
4343
fail-fast: false
4444
matrix:
4545
node-version:
46-
- 0.10
47-
- 0.12
46+
- "0.10"
47+
- "0.12"
4848
- 4
49-
- 5
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+
61+
legacy-node-test:
62+
name: "Legacy Node Test"
63+
runs-on: ubuntu-latest
64+
timeout-minutes: 5
65+
strategy:
66+
fail-fast: false
67+
matrix:
68+
node-version:
5069
- 6
5170
- 8
5271
- 10

0 commit comments

Comments
 (0)