fix: ensure-env before test and lint (#40850)
This prevents confusing errors resulting from the config files not always being updated.
This commit is contained in:
committed by
GitHub
parent
cc223a9e54
commit
0b75c2fc62
@@ -37,7 +37,7 @@
|
||||
"format:css": "npm run prettier -- --write",
|
||||
"hooks:install": "node node_modules/husky/husky.js install",
|
||||
"hooks:uninstall": "node node_modules/husky/husky.js uninstall",
|
||||
"lint": "npm-run-all -p lint:*",
|
||||
"lint": "npm-run-all ensure-env -p lint:*",
|
||||
"lint:challenges": "cd ./curriculum && npm run lint",
|
||||
"lint:js": "eslint .",
|
||||
"lint:css": "npm run prettier -- --check",
|
||||
@@ -48,7 +48,7 @@
|
||||
"seed:certified-user": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser certUser",
|
||||
"serve:client": "cd ./client && npm run serve",
|
||||
"start": "npm-run-all ensure-env -p develop:server serve:client",
|
||||
"test": "npm-run-all -p test:*",
|
||||
"test": "npm-run-all ensure-env -p test:*",
|
||||
"test:client": "cd ./client && npm test",
|
||||
"test:curriculum": "cd ./curriculum && npm test",
|
||||
"test-curriculum-full-output": "cd ./curriculum && npm run test:full-output",
|
||||
|
Reference in New Issue
Block a user