Skip to content

Commit 98b86ce

Browse files
committed
[actions] split out node 10-20, and 20+
1 parent 5fd2f03 commit 98b86ce

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

.github/workflows/node-tens.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1-
name: 'Tests: node.js >= 10'
1+
name: 'Tests: node.js 10 - 20'
22

33
on: [pull_request, push]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
tests:
710
uses: ljharb/actions/.github/workflows/node.yml@main
811
with:
9-
range: '>= 10'
12+
range: '>= 10 < 20'
1013
type: minors
1114
command: npm run tests-only
1215

1316
node:
14-
name: 'node >= 10'
17+
name: 'node 10 - 20'
1518
needs: [tests]
1619
runs-on: ubuntu-latest
1720
steps:
18-
- run: 'echo tests completed'
21+
- run: true

.github/workflows/node-twenties.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Tests: node.js >= 20'
2+
3+
on: [pull_request, push]
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
tests:
10+
uses: ljharb/actions/.github/workflows/node.yml@main
11+
with:
12+
range: '>= 20'
13+
type: minors
14+
command: npm run tests-only
15+
16+
node:
17+
name: 'node >= 20'
18+
needs: [tests]
19+
runs-on: ubuntu-latest
20+
steps:
21+
- run: true

0 commit comments

Comments
 (0)