File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 91
91
curl --retry-connrefused --retry 5 -I http://localhost:5042
92
92
93
93
# Basically, test if it 200 OKs. If not, this'll exit non-zero.
94
- curl http://localhost:5042/en-US/ > /dev/null
95
- curl http://localhost:5042/en-US/docs/MDN/Kitchensink > /dev/null
94
+ curl --fail http://localhost:5042/en-US/ > /dev/null
95
+ curl --fail http://localhost:5042/en-US/docs/MDN/Kitchensink > /dev/null
96
96
97
97
- name : Test viewing the dev server
98
98
env :
Original file line number Diff line number Diff line change 36
36
"install:all:npm" : " find . -mindepth 2 -name 'package-lock.json' ! -wholename '**/node_modules/**' -print0 | xargs -n1 -0 sh -cx 'npm --prefix $(dirname $0) install'" ,
37
37
"jest" : " node --experimental-vm-modules --expose-gc ./node_modules/.bin/jest --logHeapUsage" ,
38
38
"m2h" : " cross-env NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node markdown/m2h/cli.ts" ,
39
- "prepack" : " yarn build:dist" ,
39
+ "prepack" : " yarn render:html && yarn build:dist" ,
40
40
"prepare" : " (husky || true) && yarn install:all && yarn install:all:npm" ,
41
41
"prettier-check" : " prettier --check ." ,
42
42
"prettier-format" : " prettier --write ." ,
You can’t perform that action at this time.
0 commit comments