diff --git a/.circleci/config.yml b/.circleci/config.yml index db070ae..7e58cdc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ 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: @@ -10,6 +10,14 @@ workflows: jobs: - node/test: name: test-<< matrix.executor >>-<< matrix.node-version >> + pre-steps: + - when: + condition: + and: + - equal: [ node/macos, << matrix.executor >> ] + - equal: [ '14.16', << matrix.node-version >> ] + steps: + - node/install-rosetta test-steps: - run: yarn prettier:check - run: yarn build @@ -23,10 +31,11 @@ workflows: - node/macos - node/windows 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