Upgrade Electron to 28.1.5

Co-authored-by: Fedor Indutny <238531+indutny@users.noreply.github.com>
This commit is contained in:
Fedor Indutny
2024-01-23 16:11:12 -08:00
committed by GitHub
parent d97aa68716
commit 2bc0e4755c
24 changed files with 421 additions and 296 deletions

View File

@@ -28,9 +28,9 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v3
with:
node-version: '18.17.1'
node-version: '18.18.2'
- name: Install global dependencies
run: npm install -g yarn@1.22.10
run: npm install -g yarn@1.22.10 npm@10.2.5
- name: Install xvfb
run: sudo apt-get install xvfb

View File

@@ -21,8 +21,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.17.1'
- run: npm install -g yarn@1.22.10
node-version: '18.18.2'
- run: npm install -g yarn@1.22.10 npm@10.2.5
- name: Cache Desktop node_modules
id: cache-desktop-modules
@@ -72,13 +72,9 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.17.1'
node-version: '18.18.2'
# The version of node-gyp bundled with our node/npm version does not support python 3.12, which the runner uses
# When we update node again, we can probably remove this
- run: npm install -g npm@latest
- run: npm install -g yarn@1.22.10
- run: npm install -g yarn@1.22.10 npm@10.2.5
- name: Cache Desktop node_modules
id: cache-desktop-modules
@@ -126,9 +122,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.17.1'
node-version: '18.18.2'
- run: sudo apt-get install xvfb
- run: npm install -g yarn@1.22.10
- run: npm install -g yarn@1.22.10 npm@10.2.5
- name: Cache Desktop node_modules
id: cache-desktop-modules
@@ -192,8 +189,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.17.1'
- run: npm install -g yarn@1.22.10
node-version: '18.18.2'
- run: npm install -g yarn@1.22.10 npm@10.2.5 node-gyp@10.0.1
# Set things up so @nodert-win10-rs4 dependencies build properly
- run: dir "$env:BUILD_LOCATION"
@@ -301,9 +298,9 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v3
with:
node-version: '18.17.1'
node-version: '18.18.2'
- name: Install global dependencies
run: npm install -g yarn@1.22.10
run: npm install -g yarn@1.22.10 npm@10.2.5
- name: Install xvfb
run: sudo apt-get install xvfb

View File

@@ -15,8 +15,8 @@ jobs:
fetch-depth: 0 # fetch all history
- uses: actions/setup-node@v3
with:
node-version: '18.17.1'
- run: npm install -g yarn@1.22.10
node-version: '18.18.2'
- run: npm install -g yarn@1.22.10 npm@10.2.5
- name: Cache danger node_modules
id: cache-desktop-modules
uses: actions/cache@v3

View File

@@ -16,8 +16,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.17.1'
node-version: '18.18.2'
cache: 'yarn'
- name: Install global dependencies
run: npm install -g yarn@1.22.10 npm@10.2.5
- name: Cache Desktop node_modules
id: cache-desktop-modules
uses: actions/cache@v3