Skip to content

Commit 0961a84

Browse files
committed
fix: config yes properly
1 parent f4bb1ae commit 0961a84

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/mikeals-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
if: steps.cache-modules.outputs.cache-hit != 'true'
2424
run: npm install
2525
- name: Test
26-
run: npx --yes best-test@latest
26+
run: npm_config_yes=true npx best-test@latest
2727
publish:
2828
name: Publish
2929
needs: test
@@ -41,7 +41,7 @@ jobs:
4141
if: steps.cache-modules.outputs.cache-hit != 'true'
4242
run: npm install
4343
- name: Test
44-
run: npm test
44+
run: npm_config_yes=true npx best-test@latest
4545

4646
- name: Publish
4747
uses: mikeal/merge-release@master

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"main": "index.js",
66
"type": "module",
77
"scripts": {
8-
"build": "npx --yes ipjs@latest build --tests",
9-
"publish": "npx --yes ipjs@latest publish",
8+
"build": "npm_config_yes=true npx ipjs@latest build --tests",
9+
"publish": "npm_config_yes=true npx ipjs@latest publish",
1010
"lint": "standard",
1111
"test:cjs": "npm run build && mocha dist/cjs/node-test/test-*.js && npm run test:cjs:browser",
1212
"test:node": "hundreds mocha test/test-*.js",
1313
"test:cjs:browser": "polendina --cleanup dist/cjs/browser-test/test-*.js",
1414
"test": "npm run lint && npm run test:node && npm run test:cjs",
1515
"test:node-v12": "mocha test/test-*.js && npm run test:cjs",
16-
"coverage": "c8 --reporter=html mocha test/test-*.js && npx st -d coverage -p 8080"
16+
"coverage": "c8 --reporter=html mocha test/test-*.js && npm_config_yes=true npx st -d coverage -p 8080"
1717
},
1818
"keywords": [],
1919
"author": "Mikeal Rogers <[email protected]> (https://www.mikealrogers.com/)",

0 commit comments

Comments
 (0)