From f74983e2e101f7842c424854013b8dea0d859845 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 8 May 2024 10:28:07 +0100 Subject: [PATCH] DEV: Enable 'cheap source maps' in GitHub CI (#26933) This seems to save ~7s in core build time. I also tried disabling sourcemaps completely, but it didn't bring any additional benefit. --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2ff49d3d305..f6ec691f35e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,6 +42,7 @@ jobs: CAPYBARA_DEFAULT_MAX_WAIT_TIME: 10 MINIO_RUNNER_LOG_LEVEL: DEBUG DISCOURSE_TURBO_RSPEC_RETRY_AND_LOG_FLAKY_TESTS: ${{ (matrix.build_type == 'system' || matrix.build_type == 'backend') && github.ref == 'refs/main/head' }} + CHEAP_SOURCE_MAPS: "1" strategy: fail-fast: false @@ -362,6 +363,7 @@ jobs: env: TESTEM_BROWSER: ${{ (startsWith(matrix.browser, 'Firefox') && 'Firefox') || matrix.browser }} TESTEM_FIREFOX_PATH: ${{ (matrix.browser == 'Firefox Evergreen') && '/opt/firefox-evergreen/firefox' }} + CHEAP_SOURCE_MAPS: "1" steps: - uses: actions/checkout@v4