diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cb6010cda..82256e60e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [18.12.0, 20.9.0] + node: [18.12.0, 22] steps: - uses: actions/setup-node@v4 with: @@ -58,10 +58,11 @@ jobs: macOS: name: Test on macOS - runs-on: macos-12 strategy: matrix: - node: [18.12.0, 20.9.0] + os: [macos-13, macos-latest] + node: [18.12.0, 22] + runs-on: ${{ matrix.os }} steps: - uses: actions/setup-node@v4 with: @@ -70,10 +71,11 @@ jobs: - name: Install Dependencies run: | brew update - brew install python3 || : # python doesn't need to be linked - brew install pkg-config cairo pango libpng jpeg giflib librsvg + brew install cairo giflib jpeg libpng librsvg pango pkg-config pip install setuptools - name: Install + env: + python: python3 run: npm install --build-from-source - name: Test run: npm test @@ -84,7 +86,7 @@ jobs: steps: - uses: actions/setup-node@v4 with: - node-version: 20.9.0 + node-version: 22 - uses: actions/checkout@v4 - name: Install run: npm install --ignore-scripts