From e9eee9aac2536a4167e10b73305e6e6e5579cc4b Mon Sep 17 00:00:00 2001 From: George Xu Date: Tue, 21 Nov 2023 17:31:39 -0800 Subject: [PATCH] build: add install-rosetta step --- .circleci/config.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7e18283..d983135 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,16 +9,23 @@ workflows: # Run the test jobs first, then the release only when all the test jobs are successful jobs: - node/test: + pre-steps: + - when: + condition: + - equal: [ '14.16', << matrix.node-version >> ] + steps: + - node/install-rosetta executor: node/macos name: test-mac-<< matrix.node-version >> matrix: alias: test-mac parameters: node-version: - - '20.5' + - '20.9' - '18.17' - '16.20' - - '14.21' + # Stay below 14.17.0 or nvm tries to download arm64 artifacts which don't exist + - '14.16' - cfa/release: requires: - test-mac