From 4ba3d557aca432b750b6d2b24ce09d73421b9e2f Mon Sep 17 00:00:00 2001 From: jjangga0214 Date: Tue, 10 Sep 2024 11:33:20 +0900 Subject: [PATCH] ci(test-publish): macOS image change --- .github/workflows/test-publish.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-publish.yaml b/.github/workflows/test-publish.yaml index ca4d085..d28cfe5 100644 --- a/.github/workflows/test-publish.yaml +++ b/.github/workflows/test-publish.yaml @@ -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 @@ -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