ci: ensure clean all script does not error after retrying step, by installing globby and chalk globally (#9745)

This commit is contained in:
Alessio Gravili
2024-12-04 11:37:46 -07:00
committed by GitHub
parent f12b4dc6b0
commit 84a5b4066d

View File

@@ -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