Skip to content

Commit 26ad92a

Browse files
committed
build: add install-rosetta step
1 parent 6bbc761 commit 26ad92a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.circleci/config.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ workflows:
1111
- node/test:
1212
name: test-<< matrix.executor >>-<< matrix.node-version >>
1313
override-ci-command: yarn install --frozen-lockfile --ignore-engines
14+
pre-steps:
15+
- when:
16+
condition:
17+
and:
18+
- equal: [ node/macos, << matrix.executor >> ]
19+
- equal: [ '14.16', << matrix.node-version >> ]
20+
steps:
21+
- node/install-rosetta
1422
test-steps:
1523
- run: yarn prettier:check
1624
- run: yarn test
@@ -23,10 +31,11 @@ workflows:
2331
- node/macos
2432
- node/windows
2533
node-version:
26-
- '20.5'
34+
- '20.9'
2735
- '18.17'
2836
- '16.20'
29-
- '14.21'
37+
# Stay below 14.17.0 or nvm tries to download arm64 artifacts which don't exist
38+
- '14.16'
3039
- cfa/release:
3140
requires:
3241
- test

0 commit comments

Comments
 (0)