Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use arm runners for arm64 workflows #1343

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading