Skip to content

Commit

Permalink
ci: use arm runners for arm64 workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Jan 20, 2025
1 parent 0ac2c8e commit 7289a4b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,13 @@ jobs:
matrix:
node-version: [18, 20, 22]
os:
- ubuntu-latest
- ubuntu-24.04-arm
- macos-latest

steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Set up QEMU
if: startsWith(matrix.os, 'ubuntu-')
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3

- name: Setup Node.js ${{ matrix.node-version }}
if: startsWith(matrix.os, 'macos-')
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
Expand All @@ -200,7 +196,11 @@ jobs:
run: |
npm test
- name: Install dependencies and test
- name: Install dependencies and test ubuntu (linux glibc)
if: startsWith(matrix.os, 'ubuntu-')
run: npm ci && npm test

- name: Install dependencies and test alpine (linux musl)
if: startsWith(matrix.os, 'ubuntu-')
run: |
docker run \
Expand Down

0 comments on commit 7289a4b

Please sign in to comment.