From 84a5b4066d3f8d99f4fa7ec141b5e4cee8f6ca7a Mon Sep 17 00:00:00 2001 From: Alessio Gravili Date: Wed, 4 Dec 2024 11:37:46 -0700 Subject: [PATCH] ci: ensure clean all script does not error after retrying step, by installing globby and chalk globally (#9745) --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2cddb685d9..55a120ba5c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -284,7 +284,7 @@ jobs: max_attempts: 5 timeout_minutes: 15 command: pnpm test:int - on_retry_command: pnpm clean:all && pnpm install + on_retry_command: pnpm clean:build && pnpm install --no-frozen-lockfile tests-e2e: runs-on: ubuntu-latest @@ -386,7 +386,7 @@ jobs: max_attempts: 5 timeout_minutes: 20 command: PLAYWRIGHT_JSON_OUTPUT_NAME=results_${{ matrix.suite }}.json pnpm test:e2e:prod:ci ${{ matrix.suite }} - on_retry_command: pnpm clean:all && pnpm install && pnpm build:all + on_retry_command: pnpm clean:build && pnpm install --no-frozen-lockfile && pnpm build:all env: PLAYWRIGHT_JSON_OUTPUT_NAME: results_${{ matrix.suite }}.json NEXT_TELEMETRY_DISABLED: 1