-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #164 from viktor44/feature/electron_14
- Loading branch information
Showing
52 changed files
with
2,450 additions
and
2,502 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,20 +14,21 @@ jobs: | |
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "14" | ||
node-version: "18" | ||
cache: "yarn" | ||
- name: Update node-gyp | ||
run: | | ||
npm install --global [email protected] | ||
npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js | ||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile && yarn run rebuild-all-native | ||
# See https://github.com/nodejs/node-gyp/blob/main/docs/Force-npm-to-use-global-node-gyp.md | ||
# https://github.com/nodejs/node-gyp/blob/main/docs/Updating-npm-bundled-node-gyp.md | ||
# - name: Update node-gyp | ||
# run: | | ||
# npm install --global [email protected] | ||
# npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js | ||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile && yarn run rebuild-all-native | ||
- name: GQL Codegen | ||
run: yarn run gql-gen | ||
- name: Build and Release | ||
run: yarn run release | ||
|
||
MacOs: | ||
runs-on: macos-latest | ||
env: | ||
|
@@ -42,14 +43,14 @@ jobs: | |
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "14" | ||
node-version: "18" | ||
cache: "yarn" | ||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile && yarn run rebuild-all-native | ||
- name: Update node-gyp | ||
run: | | ||
npm install --global [email protected] | ||
npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js | ||
# - name: Update node-gyp | ||
# run: | | ||
# npm install --global [email protected] | ||
# npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js | ||
- name: GQL Codegen | ||
run: yarn run gql-gen | ||
- name: Build and Release | ||
|
@@ -67,14 +68,14 @@ jobs: | |
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "14" | ||
cache: "yarn" | ||
- name: Update node-gyp | ||
node-version: "18" | ||
- name: Configure Node | ||
shell: powershell | ||
run: | | ||
npm install --global [email protected] | ||
# npm v9 doesn't allow custom config parameters (i.e. node_gyp) anymode, so we have to downgrade it to v8 | ||
npm install -g npm@8 | ||
npm install -g node-gyp@latest | ||
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} | ||
- name: Update registry URL | ||
run: | | ||
npm config set registry "http://registry.npmjs.org" | ||
yarn config set registry "http://registry.npmjs.org" | ||
yarn config set network-timeout 300000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,12 @@ jobs: | |
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "14" | ||
node-version: "18" | ||
cache: "yarn" | ||
- name: Update node-gyp | ||
run: | | ||
npm install --global [email protected] | ||
npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js | ||
# - name: Update node-gyp | ||
# run: | | ||
# npm install --global [email protected] | ||
# npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js | ||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile --prefer-offline && yarn run rebuild-all-native | ||
- name: GQL Codegen | ||
|
@@ -33,6 +33,7 @@ jobs: | |
# run: yarn run lint:ci | ||
- name: Build | ||
run: yarn run build | ||
|
||
MacOs: | ||
runs-on: macos-latest | ||
env: | ||
|
@@ -41,12 +42,12 @@ jobs: | |
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "14" | ||
node-version: "18" | ||
cache: "yarn" | ||
- name: Update node-gyp | ||
run: | | ||
npm install --global [email protected] | ||
npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js | ||
# - name: Update node-gyp | ||
# run: | | ||
# npm install --global [email protected] | ||
# npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js | ||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile --prefer-offline && yarn run rebuild-all-native | ||
- name: GQL Codegen | ||
|
@@ -66,14 +67,14 @@ jobs: | |
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "14" | ||
cache: "yarn" | ||
- name: Update node-gyp | ||
node-version: "18" | ||
- name: Configure Node | ||
shell: powershell | ||
run: | | ||
npm install --global [email protected] | ||
# npm v9 doesn't allow custom config parameters (i.e. node_gyp) anymode, so we have to downgrade it to v8 | ||
npm install -g npm@8 | ||
npm install -g node-gyp@latest | ||
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} | ||
- name: Update registry URL | ||
run: | | ||
npm config set registry "http://registry.npmjs.org" | ||
yarn config set registry "http://registry.npmjs.org" | ||
yarn config set network-timeout 300000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
runtime = electron | ||
disturl = https://electronjs.org/headers | ||
target = 13.6.9 | ||
target = 24.4.0 | ||
arch = x64 | ||
#arch = arm64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
14.21.3 | ||
18.14.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.