fix: build workers before testing
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
a0ac43083a
commit
e839c6694d
@ -24,6 +24,7 @@
|
|||||||
"bootstrap": "lerna bootstrap --ci",
|
"bootstrap": "lerna bootstrap --ci",
|
||||||
"prebuild": "npm run ensure-env",
|
"prebuild": "npm run ensure-env",
|
||||||
"build": "npm-run-all -p build:*",
|
"build": "npm-run-all -p build:*",
|
||||||
|
"build-workers": "cd ./client && npm run prebuild",
|
||||||
"build:client": "cd ./client && npm run build",
|
"build:client": "cd ./client && npm run build",
|
||||||
"build:curriculum": "cd ./curriculum && npm run build",
|
"build:curriculum": "cd ./curriculum && npm run build",
|
||||||
"build:server": "cd ./api-server && npm run build",
|
"build:server": "cd ./api-server && npm run build",
|
||||||
@ -72,7 +73,7 @@
|
|||||||
"start": "npm-run-all ensure-env -p develop:server serve:client",
|
"start": "npm-run-all ensure-env -p develop:server serve:client",
|
||||||
"start-ci": "npm-run-all ensure-env -p start:server serve:client",
|
"start-ci": "npm-run-all ensure-env -p start:server serve:client",
|
||||||
"start:server": "cd ./api-server && npm start",
|
"start:server": "cd ./api-server && npm start",
|
||||||
"test": "npm-run-all ensure-env build:curriculum -p test:*",
|
"test": "npm-run-all ensure-env build:curriculum build-workers -p test:*",
|
||||||
"test-curriculum-full-output": "cd ./curriculum && npm run test:full-output",
|
"test-curriculum-full-output": "cd ./curriculum && npm run test:full-output",
|
||||||
"test:client": "cd ./client && npm test",
|
"test:client": "cd ./client && npm test",
|
||||||
"test:curriculum": "cd ./curriculum && npm test",
|
"test:curriculum": "cd ./curriculum && npm test",
|
||||||
|
Reference in New Issue
Block a user