Skip to content

Commit 14cb785

Browse files
committed
[actions] split out node 10-20, and 20+
1 parent f64c7db commit 14cb785

File tree

5 files changed

+52
-2
lines changed

5 files changed

+52
-2
lines changed

.github/workflows/node-aught.yml

+10
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,20 @@ name: 'Tests: node.js < 10'
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:
912
range: '< 10'
1013
type: minors
1114
command: npm run tests-only
15+
16+
node:
17+
name: 'node < 10'
18+
needs: [tests]
19+
runs-on: ubuntu-latest
20+
steps:
21+
- run: true

.github/workflows/node-pretest.yml

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: 'Tests: pretest/posttest'
22

33
on: [pull_request, push]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
tests:
710
uses: ljharb/actions/.github/workflows/pretest.yml@main

.github/workflows/node-tens.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +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
15+
16+
node:
17+
name: 'node 10 - 20'
18+
needs: [tests]
19+
runs-on: ubuntu-latest
20+
steps:
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

.github/workflows/require-allow-edits.yml

+6
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ name: Require “Allow Edits”
22

33
on: [pull_request_target]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
_:
10+
permissions:
11+
pull-requests: read # for ljharb/require-allow-edits to check 'allow edits' on PR
12+
713
name: "Require “Allow Edits”"
814

915
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)