diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 20744810..4f8a519e 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -125,6 +125,12 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.job }}-${{ runner.os }} + # macOS runners ship a newer CMake than the project supports; pin it to match the version used elsewhere in CI + - name: Install compatible CMake version + if: runner.os == 'macOS' + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: ${{ env.CMAKE_VERSION }} - run: npm ci - run: npm run build - name: Prepare weak-node-api