Skip to content

Commit 079837a

Browse files
authored
Add bare tests to CI (#212)
1 parent 0d4f4b6 commit 079837a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/test-node.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
- run: npm install
2828
- run: npm test
2929
- run: npm run integration
30+
- run: npm i -g bare
31+
- run: npm run test:bare
3032
trigger_canary:
3133
if: startsWith(github.ref, 'refs/tags/') # Only run when a new package is published (detects when a new tag is pushed)
3234
runs-on: ubuntu-latest

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"events": {
1919
"bare": "bare-events",
2020
"default": "events"
21+
},
22+
"child_process": {
23+
"bare": "bare-node-child-process",
24+
"default": "child_process"
2125
}
2226
},
2327
"dependencies": {
@@ -42,13 +46,15 @@
4246
"xache": "^1.1.0"
4347
},
4448
"devDependencies": {
49+
"bare-node-child-process": "^1.0.1",
4550
"brittle": "^3.0.0",
4651
"graceful-goodbye": "^1.3.0",
4752
"newline-decoder": "^1.0.2",
4853
"standard": "^17.1.0"
4954
},
5055
"scripts": {
5156
"test": "standard && node test/all.js",
57+
"test:bare": "bare test/all.js",
5258
"test:generate": "brittle -r test/all.js test/*.js",
5359
"lint": "standard",
5460
"integration": "brittle test/integration/*.js",

0 commit comments

Comments
 (0)