From e9f21e9b55879f6a445014cd54f059eee7a71f37 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Fri, 27 Aug 2021 16:54:40 +0200 Subject: [PATCH 1/5] Update Electron.yml --- .github/workflows/Electron.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/Electron.yml b/.github/workflows/Electron.yml index 3a51ef2..1cbb75b 100644 --- a/.github/workflows/Electron.yml +++ b/.github/workflows/Electron.yml @@ -20,6 +20,8 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} + - name: Upgrade node-gyp + run: npm install --global node-gyp@latest && npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js - name: Install dependencies run: cd Dashboard && yarn --network-timeout 1000000000 - name: Build From 78f9ad05adcd80cd30ff58ffca695083e1bab238 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Fri, 27 Aug 2021 16:56:23 +0200 Subject: [PATCH 2/5] Update Electron.yml --- .github/workflows/Electron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Electron.yml b/.github/workflows/Electron.yml index 1cbb75b..9cb7da0 100644 --- a/.github/workflows/Electron.yml +++ b/.github/workflows/Electron.yml @@ -21,7 +21,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Upgrade node-gyp - run: npm install --global node-gyp@latest && npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js + run: npm install --global node-gyp@latest && (for /f "delims=" %P in ('npm prefix -g') do npm config set node_gyp"%P\node_modules\node-gyp\bin\node-gyp.js") - name: Install dependencies run: cd Dashboard && yarn --network-timeout 1000000000 - name: Build From 5e0beb4b3a7d8261f727afd66660ff3894175a77 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Fri, 27 Aug 2021 16:58:17 +0200 Subject: [PATCH 3/5] Update Electron.yml --- .github/workflows/Electron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Electron.yml b/.github/workflows/Electron.yml index 9cb7da0..c1e8860 100644 --- a/.github/workflows/Electron.yml +++ b/.github/workflows/Electron.yml @@ -21,7 +21,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Upgrade node-gyp - run: npm install --global node-gyp@latest && (for /f "delims=" %P in ('npm prefix -g') do npm config set node_gyp"%P\node_modules\node-gyp\bin\node-gyp.js") + run: npm install --global node-gyp@latest && npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gypjs"} - name: Install dependencies run: cd Dashboard && yarn --network-timeout 1000000000 - name: Build From e2e00d1d217669afa60165b7b35e8d66a5f0331c Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Fri, 27 Aug 2021 17:02:06 +0200 Subject: [PATCH 4/5] Update Electron.yml --- .github/workflows/Electron.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/Electron.yml b/.github/workflows/Electron.yml index c1e8860..3a51ef2 100644 --- a/.github/workflows/Electron.yml +++ b/.github/workflows/Electron.yml @@ -20,8 +20,6 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: Upgrade node-gyp - run: npm install --global node-gyp@latest && npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gypjs"} - name: Install dependencies run: cd Dashboard && yarn --network-timeout 1000000000 - name: Build From 6ffe32e4ccf3e4140befb8ec6ee144a3b0730729 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Fri, 27 Aug 2021 17:15:10 +0200 Subject: [PATCH 5/5] Update Electron.yml --- .github/workflows/Electron.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/Electron.yml b/.github/workflows/Electron.yml index 3a51ef2..e729197 100644 --- a/.github/workflows/Electron.yml +++ b/.github/workflows/Electron.yml @@ -20,6 +20,8 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} + - name: Fix node-gyp + run: npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" - name: Install dependencies run: cd Dashboard && yarn --network-timeout 1000000000 - name: Build