From a4f5df7243cda50b6b47cef49858cbf904a69137 Mon Sep 17 00:00:00 2001 From: "Gilad S." Date: Thu, 5 Nov 2026 11:10:47 +0200 Subject: [PATCH] build: skip electron download in the CI --- .github/workflows/build.yml | 16 ++++++++++++++++ .github/workflows/test.yml | 4 ++++ 2 files changed, 20 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea12d063..c0408aac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,8 @@ jobs: node-version: "22" package-manager-cache: false - name: Install modules + env: + ELECTRON_SKIP_BINARY_DOWNLOAD: "1" run: npm ci - name: Build run: npm run build @@ -467,6 +469,8 @@ jobs: node-version: "22" package-manager-cache: false - name: Install modules + env: + ELECTRON_SKIP_BINARY_DOWNLOAD: "1" run: npm ci - name: Download build artifact uses: actions/download-artifact@v8 @@ -533,6 +537,8 @@ jobs: sudo apt-get install ninja-build cmake - name: Install modules + env: + ELECTRON_SKIP_BINARY_DOWNLOAD: "1" run: npm ci - name: Build binary @@ -578,6 +584,8 @@ jobs: alias make=cmake - name: Install modules + env: + ELECTRON_SKIP_BINARY_DOWNLOAD: "1" run: npm ci - name: Build binary @@ -641,6 +649,8 @@ jobs: - name: Update npm run: npm install -g npm@latest - name: Install modules + env: + ELECTRON_SKIP_BINARY_DOWNLOAD: "1" run: npm ci - uses: actions/download-artifact@v8 with: @@ -870,6 +880,8 @@ jobs: node-version: "22" package-manager-cache: false - name: Install modules + env: + ELECTRON_SKIP_BINARY_DOWNLOAD: "1" run: npm ci - uses: actions/download-artifact@v8 with: @@ -951,6 +963,8 @@ jobs: node-version: "22" package-manager-cache: false - name: Install modules + env: + ELECTRON_SKIP_BINARY_DOWNLOAD: "1" run: npm ci - uses: actions/download-artifact@v8 with: @@ -1014,6 +1028,8 @@ jobs: # node-version: "22" # package-manager-cache: false # - name: Install modules +# env: +# ELECTRON_SKIP_BINARY_DOWNLOAD: "1" # run: npm ci # # - name: Pull artifact from broken release diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bdb431d0..128ec5a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,8 @@ jobs: with: node-version: "22" - name: Install modules + env: + ELECTRON_SKIP_BINARY_DOWNLOAD: "1" run: npm ci - name: ESLint run: npx eslint @@ -36,6 +38,8 @@ jobs: with: node-version: "22" - name: Install modules + env: + ELECTRON_SKIP_BINARY_DOWNLOAD: "1" run: npm ci - name: Build run: npm run build