Build: run pretest in jenkins script

This commit is contained in:
Timmy Willison 2023-09-20 18:07:35 -04:00
parent 7ef9099d32
commit cb763072fe

View File

@ -43,7 +43,7 @@
"build": "node ./build/command.js", "build": "node ./build/command.js",
"build:all": "node -e \"require('./build/tasks/build.js').buildDefaultFiles()\"", "build:all": "node -e \"require('./build/tasks/build.js').buildDefaultFiles()\"",
"build:main": "node -e \"require('./build/tasks/build.js').build()\"", "build:main": "node -e \"require('./build/tasks/build.js').build()\"",
"jenkins": "npm run test:browserless", "jenkins": "npm run pretest && npm run test:browserless",
"lint:dev": "eslint --cache .", "lint:dev": "eslint --cache .",
"lint:json": "jsonlint --quiet package.json", "lint:json": "jsonlint --quiet package.json",
"lint": "concurrently -r \"npm:lint:dev\" \"npm:lint:json\"", "lint": "concurrently -r \"npm:lint:dev\" \"npm:lint:json\"",