diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3968940ae..56b3c7ef7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,9 @@ jobs: run: pnpm ci:build main-lint: - runs-on: ubuntu-latest + # avoid out of memory issue since macOS has bigger memory + # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources + runs-on: macos-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/upload-annotations.yml b/.github/workflows/upload-annotations.yml index ec68fce05..9d8cca386 100644 --- a/.github/workflows/upload-annotations.yml +++ b/.github/workflows/upload-annotations.yml @@ -12,7 +12,9 @@ concurrency: jobs: upload-annotations: - runs-on: ubuntu-latest + # avoid out of memory issue since macOS has bigger memory + # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources + runs-on: macos-latest permissions: checks: write