This repository was archived by the owner on Oct 9, 2023. It is now read-only.
File tree 8 files changed +75
-43
lines changed
8 files changed +75
-43
lines changed 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.yml@main
8
+ with :
9
+ range : ' >= 4 < 10' # node < 4 breaks due to babel; we'll need staged builds for this
10
+ type : majors
11
+ command : npm run tests-only
12
+ skip-ls-check : true
13
+
14
+ node :
15
+ name : ' node < 10'
16
+ needs : [tests]
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - 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.yml@main
8
+ with :
9
+ range : ' >= 10'
10
+ type : majors
11
+ command : npm run tests-only
12
+
13
+ node :
14
+ name : ' node >= 10'
15
+ needs : [tests]
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - 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
package-lock = false
2
+ audit-level = critical
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
"clean" : " rimraf lib" ,
10
10
"prebuild" : " npm run clean" ,
11
11
"build" : " babel src -d lib" ,
12
+ "prelint" : " npm run build" ,
12
13
"lint" : " eslint src test" ,
13
14
"pretest" : " npm run --silent lint" ,
14
15
"test" : " npm run coverage" ,
15
16
"pretests-only" : " npm run build" ,
16
17
"tests-only" : " npm run test:quick" ,
18
+ "posttest" : " aud --production" ,
17
19
"precoverage" : " npm run build" ,
18
20
"coverage" : " babel-node node_modules/.bin/istanbul cover --report html node_modules/.bin/_mocha -- -R tap test/init.js test/*-test.js" ,
19
21
"postcoverage" : " npm run cover:check" ,
47
49
},
48
50
"homepage" : " https://github.com/airbnb/hypernova" ,
49
51
"devDependencies" : {
52
+ "aud" : " ^2.0.0" ,
50
53
"babel-cli" : " ^6.26.0" ,
51
54
"babel-plugin-add-module-exports" : " ^0.2.1" ,
52
55
"babel-plugin-transform-replace-object-assign" : " ^1.0.0" ,
You can’t perform that action at this time.
0 commit comments