From 38ee51f660ae176fc26ae1ecc414923ffe817e99 Mon Sep 17 00:00:00 2001 From: Johan Nyman Date: Mon, 25 Mar 2024 07:18:16 +0100 Subject: [PATCH] chore: CI fix --- .github/workflows/build-windows.yaml | 5 +++++ package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-windows.yaml b/.github/workflows/build-windows.yaml index 535073b6..604cb9e1 100644 --- a/.github/workflows/build-windows.yaml +++ b/.github/workflows/build-windows.yaml @@ -27,6 +27,11 @@ jobs: - name: Enable Corepack run: corepack enable + - name: Prepare Environment + run: yarn + env: + CI: true + - name: Run build env: CI: true diff --git a/package.json b/package.json index baa62f1f..1a6385b6 100644 --- a/package.json +++ b/package.json @@ -39,8 +39,8 @@ "start:worker": "lerna run start --stream --scope @worker/app", "start:single-app": "lerna run start --stream --scope @single-app/app", "postinstall": "node scripts/update-packages.js", - "do:build-win32": "yarn install && yarn build && yarn build-win32 && yarn gather-built && yarn sign-executables", - "do:build-win32:ci": "yarn install && yarn build && yarn build-win32:ci && yarn gather-built", + "do:build-win32": "yarn build && yarn build-win32 && yarn gather-built && yarn sign-executables", + "do:build-win32:ci": "yarn build && yarn build-win32:ci && yarn gather-built", "verify:build-win32": "node scripts/verify-build-win32.mjs", "precommit": "run -T lint-staged", "generate-schema-types": "node scripts/schema-types.mjs",