diff --git a/.github/workflows/prebuild-test.yml b/.github/workflows/prebuild-test.yml index f14dedfd..c2c4d3c9 100644 --- a/.github/workflows/prebuild-test.yml +++ b/.github/workflows/prebuild-test.yml @@ -87,7 +87,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 16 - - run: python3 -m pip install setuptools + - run: python3 -m pip install --break-system-packages setuptools - run: npm install --ignore-scripts - run: ${{ env.TEST_COMMAND }} diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index 3a424dbe..2be9c26a 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -28,8 +28,10 @@ jobs: node-version: 16 - if: ${{ startsWith(matrix.os, 'windows') }} run: pip.exe install setuptools - - if: ${{ ! startsWith(matrix.os, 'windows') }} + - if: ${{ ! startsWith(matrix.os, 'windows') && matrix.os != 'macos-14' }} run: python3 -m pip install setuptools + - if: matrix.os == 'macos-14' + run: python3 -m pip install --break-system-packages setuptools - run: npm install --ignore-scripts - run: ${{ env.NODE_BUILD_CMD }} - run: ${{ env.ELECTRON_BUILD_CMD }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8538c775..cae410d2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,7 @@ jobs: os: - ubuntu-20.04 - macos-latest + - macos-14 - windows-2019 node: - 18 @@ -31,8 +32,10 @@ jobs: node-version: ${{ matrix.node }} - if: ${{ startsWith(matrix.os, 'windows') }} run: pip.exe install setuptools - - if: ${{ ! startsWith(matrix.os, 'windows') }} + - if: ${{ ! startsWith(matrix.os, 'windows') && matrix.os != 'macos-14' }} run: python3 -m pip install setuptools + - if: matrix.os == 'macos-14' + run: python3 -m pip install --break-system-packages setuptools - run: npm install --ignore-scripts - run: npm run build-debug - run: npm test