]> source.dussan.org Git - jquery.git/commitdiff
Build: run pretest in jenkins script
authorTimmy Willison <timmywil@users.noreply.github.com>
Wed, 20 Sep 2023 22:07:35 +0000 (18:07 -0400)
committerTimmy Willison <timmywil@users.noreply.github.com>
Wed, 20 Sep 2023 22:20:59 +0000 (18:20 -0400)
package.json

index 29e6f90e56b1a85a80b7afc052698d8c312cae87..4c3d4a9ec6f100ee58a7123c02dbbdf568fb77c4 100644 (file)
@@ -43,7 +43,7 @@
     "build": "node ./build/command.js",
     "build:all": "node -e \"require('./build/tasks/build.js').buildDefaultFiles()\"",
     "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:json": "jsonlint --quiet package.json",
     "lint": "concurrently -r \"npm:lint:dev\" \"npm:lint:json\"",