From b353116e99ea94b5e79012040fb7bd088d35f50c Mon Sep 17 00:00:00 2001 From: MarkusJx <28785953+markusjx@users.noreply.github.com> Date: Wed, 25 Dec 2024 18:30:30 +0100 Subject: [PATCH] ci: fix macos build --- .github/workflows/publish.yml | 1 + .github/workflows/test.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f09f332..ec1f048 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -67,6 +67,7 @@ jobs: run: npm ci - name: Build run: npm run build -- -- --target ${{ matrix.target }} + shell: bash - name: Get version id: version run: echo "version=$(node -p 'require(`./package.json`).version')" >> $GITHUB_ENV diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7fc325..1c60e4b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -70,11 +70,11 @@ jobs: features: default - os: macos-latest node-version: 20.x - arch: x64 + arch: arm64 features: default - os: macos-latest node-version: 22.x - arch: x64 + arch: arm64 features: all runs-on: ${{matrix.os}} steps: