Skip to content

Commit

Permalink
GitHub Actions: Trest on the latest macOS X64 and ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Jul 16, 2024
1 parent 83a5126 commit 7340a9f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7340a9f

Please sign in to comment.