From ce8230df44aaaf4fcd00da84144c738a99660b66 Mon Sep 17 00:00:00 2001 From: Emma Segal-Grossman Date: Mon, 23 Dec 2024 15:51:05 -0500 Subject: [PATCH] Bump macos version to 13 and node to 20 in CI (#386) macOS builders are failing with major version 12 because it's deprecated now https://github.com/actions/runner-images/issues/10721 --- .github/workflows/buildapp.yaml | 9 +++++---- .github/workflows/integration.yaml | 2 +- .github/workflows/lint.yaml | 4 ++-- .github/workflows/npm-release.yaml | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/buildapp.yaml b/.github/workflows/buildapp.yaml index fcb15171..3073c910 100644 --- a/.github/workflows/buildapp.yaml +++ b/.github/workflows/buildapp.yaml @@ -8,10 +8,10 @@ jobs: strategy: matrix: - os: [macos-12, ubuntu-latest] + os: [macos-13, ubuntu-latest] platform: [windows, linux] exclude: - - os: macos-12 + - os: macos-13 platform: windows steps: @@ -21,7 +21,8 @@ jobs: - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v2 with: - node-version: '18' + node-version: '20' + cache: 'yarn' - name: Cache Dirs uses: actions/cache@v2 @@ -105,4 +106,4 @@ jobs: yarn --link-duplicates --pure-lockfile --ignore-engines install yarn run $YARN_BUILD_CMD fi - + diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 7010690f..a0590513 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -17,7 +17,7 @@ jobs: - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: 'yarn' - name: Yarn Install diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 96196fe4..4f7561b1 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -13,11 +13,11 @@ jobs: - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: 'yarn' - name: Yarn Install run: yarn install --frozen-lockfile --ignore-optional - name: Yarn Lint - run: yarn lint \ No newline at end of file + run: yarn lint diff --git a/.github/workflows/npm-release.yaml b/.github/workflows/npm-release.yaml index ef8eff10..85074766 100644 --- a/.github/workflows/npm-release.yaml +++ b/.github/workflows/npm-release.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: 20 registry-url: 'https://registry.npmjs.org' cache: 'yarn'