1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix unit tests on CI not having all deps

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-11-10 09:44:09 -05:00
parent 90094641ba
commit e2e7bc460b
2 changed files with 2 additions and 3 deletions

View File

@ -44,7 +44,7 @@ tag-release:
scripts/tag-release.sh $(CMD_ARGS)
.PHONY: test
test: binaries/client
test: node_modules binaries/client
yarn run jest $(or $(CMD_ARGS), "src")
.PHONY: integration
@ -53,7 +53,6 @@ integration: build
.PHONY: build
build: node_modules binaries/client
yarn run compile:node-fetch
$(MAKE) build-extensions -B
yarn run build:tray-icons
yarn run compile

View File

@ -21,13 +21,13 @@
"debug-build": "concurrently yarn:compile:main yarn:compile:extension-types",
"dev-run": "nodemon --watch ./static/build/main.js --exec \"electron --remote-debugging-port=9223 --inspect .\"",
"dev:main": "yarn run compile:main --watch --progress",
"predev:renderer": "yarn run compile:node-fetch",
"dev:renderer": "yarn run ts-node webpack/dev-server.ts",
"compile": "env NODE_ENV=production concurrently yarn:compile:*",
"compile:main": "yarn run webpack --config webpack/main.ts",
"compile:renderer": "yarn run webpack --config webpack/renderer.ts",
"compile:extension-types": "yarn run webpack --config webpack/extensions.ts",
"compile:node-fetch": "yarn run webpack --config ./webpack/node-fetch.ts",
"postinstall": "yarn run compile:node-fetch",
"npm:fix-package-version": "yarn run ts-node build/set_npm_version.ts",
"build:linux": "yarn run compile && electron-builder --linux --dir",
"build:mac": "yarn run compile && electron-builder --mac --dir",