Skip to content

Commit

Permalink
ci(test-publish): macOS image change
Browse files Browse the repository at this point in the history
  • Loading branch information
jjangga0214 committed Sep 10, 2024
1 parent 49ebc5e commit 4ba3d55
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ jobs:
strategy:
matrix:
node-version: [18, 20, 22]
os: [ubuntu-latest, macOS-latest, windows-latest, windows-2019]
# [REF]: https://github.com/actions/runner-images
# Why `macos-latest-large`(x86-64) instead of `macos-latest`(arm64)?
# Currently, docker is not supported on Apple silicon(ARM64) in GitHub Actions.
# That's because Apple silicon does not support 'nested virtualization' yet,
# though support *will* be added from M3 + macOS 15.
# [REF]: https://github.com/douglascamata/setup-docker-macos-action
os: [ubuntu-latest, macos-latest-large, windows-latest, windows-2019]

steps:
- uses: actions/checkout@v4
Expand All @@ -80,6 +86,10 @@ jobs:
- name: Install Dependencies
run: pnpm install --silent --frozen-lockfile --ignore-scripts

# - name: Setup Docker on macOS
# if: startsWith(matrix.os, 'macos')
# uses: douglascamata/setup-docker-macos-action@v1-alpha

- name: Run Local Npm Registry (Verdaccio)
# verdaccio is private npm registry. [link](https://github.com/verdaccio/verdaccio/)
run: docker compose -f verdaccio/docker-compose.yaml up --wait
Expand Down

0 comments on commit 4ba3d55

Please sign in to comment.