Skip to content

Commit cfed01b

Browse files
chore: attempt to not cache electron build (#30446)
* chore: attempt to not cache electron build * blank -- run ci * fix -- run ci * fix -- run ci * improvement
1 parent 63937b6 commit cfed01b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: nx.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
},
2929
"namedInputs": {
3030
"sharedGlobals": [
31-
"{workspaceRoot}/scripts",
32-
"{workspaceRoot}/.circleci/cache-version.txt"
31+
"{workspaceRoot}/scripts"
3332
],
3433
"default": [
3534
"{projectRoot}/**/*",
36-
"sharedGlobals"
35+
"sharedGlobals",
36+
"{workspaceRoot}/.circleci/cache-version.txt"
3737
],
3838
"production": [
3939
"default",

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"binary-smoke-test": "node ./scripts/binary.js smoke",
1515
"binary-upload": "node ./scripts/binary.js upload",
1616
"binary-zip": "node ./scripts/binary.js zip",
17-
"build": "lerna run build --stream && lerna run build-cli --stream",
17+
"build": "lerna run build --stream && yarn workspace @packages/electron build-binary && lerna run build-cli --stream",
1818
"build-prod": "lerna run build-prod --stream && node ./cli/scripts/post-build.js && lerna run build-prod --stream --scope",
1919
"build-v8-snapshot-dev": "node --max-old-space-size=8192 tooling/v8-snapshot/scripts/setup-v8-snapshot-in-cypress.js --env=dev",
2020
"build-v8-snapshot-prod": "node --max-old-space-size=8192 tooling/v8-snapshot/scripts/setup-v8-snapshot-in-cypress.js",

Diff for: packages/electron/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"main": "index.js",
66
"scripts": {
7-
"build": "node ./bin/cypress-electron --install",
7+
"build-binary": "node ./bin/cypress-electron --install",
88
"clean-deps": "rimraf node_modules",
99
"postinstall": "echo '@packages/electron needs: yarn build'",
1010
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .",

0 commit comments

Comments
 (0)