fix: build workers before testing

This commit is contained in:
Oliver Eyton-Williams
2021-05-05 13:10:48 +02:00
committed by Mrugesh Mohapatra
parent a0ac43083a
commit e839c6694d

View File

@ -24,6 +24,7 @@
"bootstrap": "lerna bootstrap --ci",
"prebuild": "npm run ensure-env",
"build": "npm-run-all -p build:*",
"build-workers": "cd ./client && npm run prebuild",
"build:client": "cd ./client && npm run build",
"build:curriculum": "cd ./curriculum && 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-ci": "npm-run-all ensure-env -p start:server serve:client",
"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:client": "cd ./client && npm test",
"test:curriculum": "cd ./curriculum && npm test",