From 8dbfea3976fdd1e913e7c8db5fa119d87f519e12 Mon Sep 17 00:00:00 2001 From: Peter Petrov Date: Thu, 25 Jul 2024 12:02:37 +0300 Subject: [PATCH] I guess building is necessary... Otherwise GH tests fail because the build is missing. --- projects/js-packages/critical-css-gen/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/js-packages/critical-css-gen/package.json b/projects/js-packages/critical-css-gen/package.json index 3a70d014508bb..7e737b9056b53 100644 --- a/projects/js-packages/critical-css-gen/package.json +++ b/projects/js-packages/critical-css-gen/package.json @@ -22,7 +22,7 @@ "clean": "rm -rf lib/ && rm -rf dist/", "lint": "prettier --check src/**/* && eslint . && echo '✔ eslint and prettier ran successfully.'", "lint:fix": "prettier --write src/**/*.ts && eslint --fix . && echo '✔ eslint and prettier ran successfully.'", - "test": "NODE_ENV=test NODE_PATH=./node_modules jest --forceExit --config=tests/config/jest.config.js" + "test": "npm run build && NODE_ENV=test NODE_PATH=./node_modules jest --forceExit --config=tests/config/jest.config.js" }, "main": "./lib/back-end.js", "browser": "./dist/bundle.js",