Skip to content

Commit

Permalink
Run build workflow on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefizso committed Oct 14, 2024
1 parent b8e17be commit 466026f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-14

strategy:
matrix:
Expand All @@ -24,8 +24,7 @@ jobs:

- name: install canvas dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
brew install --quiet pkg-config cairo pango libpng jpeg giflib librsvg pixman python-setuptools
- name: npm ci
run: npm ci
Expand Down Expand Up @@ -54,7 +53,7 @@ jobs:
uses: dorny/test-reporter@eaa763f6ffc21c7a37837f56cd5f9737f27fc6c8 # 1.8.0
if: success() || failure()
with:
name: 'qrcode-tests-nodejs_${{ matrix.node }}_${{ runner.os }}'
name: 'qrcode-tests-nodejs_${{ matrix.node }}'
path: 'test-results.xml'
reporter: jest-junit

Expand All @@ -65,6 +64,6 @@ jobs:
- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: qrcode_nodejs_${{ matrix.node }}
name: 'qrcode_nodejs_${{ matrix.node }}'
path: '*.tgz'
compression-level: 0

0 comments on commit 466026f

Please sign in to comment.