diff --git a/.circleci/config.yml b/.circleci/config.yml index 9c5d7c8..d983135 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,23 +2,30 @@ version: 2.1 orbs: cfa: continuousauth/npm@2.1.0 - node: electronjs/node@1.4.1 + node: electronjs/node@2.1.0 workflows: test_and_release: # 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