File tree 6 files changed +68
-5
lines changed
6 files changed +68
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Tests: node.js 6 - 10'
2
+
3
+ on : [pull_request, push]
4
+
5
+ jobs :
6
+ tests :
7
+ uses : ljharb/actions/.github/workflows/node-majors.yml@main
8
+ with :
9
+ range : ' >= 6 < 10'
10
+ command : npm run tests-only
11
+
12
+ node :
13
+ name : ' node 6 - 10'
14
+ needs : [tests]
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - run : ' echo tests completed'
Original file line number Diff line number Diff line change
1
+ name : ' Tests: pretest/posttest'
2
+
3
+ on : [pull_request, push]
4
+
5
+ jobs :
6
+ tests :
7
+ uses : ljharb/actions/.github/workflows/pretest.yml@main
Original file line number Diff line number Diff line change
1
+ name : ' Tests: node.js >= 10'
2
+
3
+ on : [pull_request, push]
4
+
5
+ jobs :
6
+ tests :
7
+ uses : ljharb/actions/.github/workflows/node-majors.yml@main
8
+ with :
9
+ range : ' >= 10'
10
+ command : npm run tests-only
11
+
12
+ node :
13
+ name : ' node >= 10'
14
+ needs : [tests]
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - run : ' echo tests completed'
Original file line number Diff line number Diff line change
1
+ name : Automatic Rebase
2
+
3
+ on : [pull_request_target]
4
+
5
+ jobs :
6
+ _ :
7
+ name : " Automatic Rebase"
8
+
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - uses : ljharb/rebase@master
14
+ env :
15
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Require “Allow Edits”
2
+
3
+ on : [pull_request_target]
4
+
5
+ jobs :
6
+ _ :
7
+ name : " Require “Allow Edits”"
8
+
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - uses : ljharb/require-allow-edits@main
Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
3
- ' stable'
4
- - ' 12'
5
- - ' 10'
6
- - ' 8'
7
- - ' 6'
8
4
script :
9
- - ' npm test'
10
5
# Run browser tests on one node version.
11
6
- ' if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_NODE_VERSION}" = "stable" ]; then npm run test:browsers; fi'
12
7
addons :
You can’t perform that action at this time.
0 commit comments