From 55768bb9d7f1914c3ca9ae1a13253881dabc1aaf Mon Sep 17 00:00:00 2001 From: Robert Sese <734194+rsese@users.noreply.github.com> Date: Thu, 21 Aug 2025 15:17:47 -0500 Subject: [PATCH] just set option in workflows env --- .github/workflows/headless-tests.yml | 2 ++ .github/workflows/local-dev.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/headless-tests.yml b/.github/workflows/headless-tests.yml index 01d35526fb..bb08904428 100644 --- a/.github/workflows/headless-tests.yml +++ b/.github/workflows/headless-tests.yml @@ -57,6 +57,8 @@ jobs: - name: Run Playwright tests env: PLAYWRIGHT_WORKERS: ${{ fromJSON('[1, 4]')[github.repository == 'github/docs-internal'] }} + NODE_OPTIONS: '--no-experimental-strip-types' + # Run playwright rendering tests and a11y tests (axe scans) as distinct checks # so that we can run them without blocking merges until we can be confident # results for a11y tests are meaningul and scenarios we're testing are correct. diff --git a/.github/workflows/local-dev.yml b/.github/workflows/local-dev.yml index e706c212b1..fffc0200ab 100644 --- a/.github/workflows/local-dev.yml +++ b/.github/workflows/local-dev.yml @@ -50,6 +50,7 @@ jobs: # by default failures are marked as "flaky" instead of "failed". PLAYWRIGHT_RETRIES: 0 TEST_EARLY_ACCESS: ${{ github.repository == 'github/docs-internal' }} + NODE_OPTIONS: '--no-experimental-strip-types' run: npm run playwright-test -- playwright-local-dev - name: Start server in the background