From b1575aee8f58a71c90f43a8ece3c6eaf3ff6eb1d Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Thu, 4 May 2023 17:06:03 -0300 Subject: [PATCH] chore: Use M1 on CircleCI (#4958) --- .circleci/config.yml | 2 +- .detoxrc.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 599170715..ce17cdabd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ orbs: macos: &macos macos: xcode: "14.2.0" - resource_class: large + resource_class: macos.m1.large.gen1 bash-env: &bash-env BASH_ENV: "~/.nvm/nvm.sh" diff --git a/.detoxrc.js b/.detoxrc.js index 0c5800f09..a899f6a35 100644 --- a/.detoxrc.js +++ b/.detoxrc.js @@ -9,9 +9,9 @@ module.exports = { }, artifacts: { plugins: { - screenshot: 'failing', - video: 'failing', - uiHierarchy: 'enabled' + screenshot: process.env.CI ? undefined : 'failing', + video: process.env.CI ? undefined : 'failing', + uiHierarchy: process.env.CI ? undefined : 'enabled' } }, apps: {