Skip to content

Commit

Permalink
Merge pull request #1345 from pact-foundation/ci/linux_arm_runners
Browse files Browse the repository at this point in the history
ci: use arm runners for arm64 workflows
  • Loading branch information
YOU54F authored Jan 21, 2025
2 parents 0ac2c8e + 7289a4b commit a1013ea
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 a1013ea

Please sign in to comment.