Skip to content

Commit 930404c

Browse files
committed
fix: deployment
1 parent 5efcbe5 commit 930404c

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/release-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install Node.js, NPM and Yarn
2828
uses: actions/setup-node@v1
2929
with:
30-
node-version: 18
30+
node-version: 16
3131

3232
- name: Install deps with big timeout
3333
run: |

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install Node.js, NPM and Yarn
2828
uses: actions/setup-node@v1
2929
with:
30-
node-version: 18
30+
node-version: 16
3131

3232
- name: Install deps with big timeout
3333
run: |

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,17 @@
1111
"scripts": {
1212
"run-audit": "yarn audit-ci --high -a 1094574 1096494 1096698 1096729 1096804",
1313
"start": "node scripts/start.js",
14-
"build": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" && yarn clean-builds && node scripts/build.js",
14+
"build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 && yarn clean-builds && node scripts/build.js",
1515
"test": "node scripts/test.js --watchAll=false",
1616
"postinstall": "electron-builder install-app-deps",
1717
"vite:dev": "cross-env NODE_ENV=development && node scripts/watch.vite.mjs",
1818
"electron:dev": "export NODE_ENV=development && yarn electron:devcore",
1919
"electron:devcore": "concurrently \"BROWSER=none yarn start\" \"wait-on http://localhost:3000 && tsc -p electron -w\" \"wait-on http://localhost:3000 && tsc -p electron && electron .\"",
2020
"electron:windev": "concurrently \"SET NODE_ENV=none && SET BROWSER=none && yarn start\" \"wait-on http://localhost:3000 && tsc -p electron -w\" \"wait-on http://localhost:3000 && tsc -p electron && electron .\"",
21-
"electron:pre-build": "export NODE_OPTIONS=--openssl-legacy-provider && yarn build && yarn copy-macos-manifest && tsc -p electron",
21+
"electron:pre-build": "yarn build && yarn copy-macos-manifest && tsc -p electron",
2222
"copy-macos-manifest": "copyfiles entitlements* ./build/",
2323
"clean-builds": "rimraf build && rimraf dist",
24-
"electron:build": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" && yarn clean-builds && export NODE_OPTIONS=--openssl-legacy-provider && yarn build && yarn copy-macos-manifest && tsc -p electron && electron-builder --publish=never",
25-
"electron:winbuild": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" && yarn clean-builds && set NODE_OPTIONS=--openssl-legacy-provider && yarn build && yarn copy-macos-manifest && tsc -p electron && electron-builder --publish=never",
24+
"electron:build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 && yarn clean-builds && yarn build && yarn copy-macos-manifest && tsc -p electron && electron-builder --publish=never",
2625
"lint-staged": "lint-staged",
2726
"lint:js": "eslint --cache --fix --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
2827
"prettier": "prettier --write '/src/**/*.{js,jsx,tsx,ts,less,md,json}'",

0 commit comments

Comments
 (0)