Commit 14cb785 1 parent f64c7db commit 14cb785 Copy full SHA for 14cb785
File tree 5 files changed +52
-2
lines changed
5 files changed +52
-2
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,20 @@ name: 'Tests: node.js < 10'
2
2
3
3
on : [pull_request, push]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
tests :
7
10
uses : ljharb/actions/.github/workflows/node.yml@main
8
11
with :
9
12
range : ' < 10'
10
13
type : minors
11
14
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
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: 'Tests: pretest/posttest'
2
2
3
3
on : [pull_request, push]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
tests :
7
10
uses : ljharb/actions/.github/workflows/pretest.yml@main
Original file line number Diff line number Diff line change 1
- name : ' Tests: node.js >= 10 '
1
+ name : ' Tests: node.js 10 - 20 '
2
2
3
3
on : [pull_request, push]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
tests :
7
10
uses : ljharb/actions/.github/workflows/node.yml@main
8
11
with :
9
- range : ' >= 10'
12
+ range : ' >= 10 < 20 '
10
13
type : minors
11
14
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ name: Require “Allow Edits”
2
2
3
3
on : [pull_request_target]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
_ :
10
+ permissions :
11
+ pull-requests : read # for ljharb/require-allow-edits to check 'allow edits' on PR
12
+
7
13
name : " Require “Allow Edits”"
8
14
9
15
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments