1
0
mirror of synced 2025-12-19 18:10:59 -05:00

just set option in workflows env

This commit is contained in:
Robert Sese
2025-08-21 15:17:47 -05:00
parent 7dc078fd15
commit 55768bb9d7
2 changed files with 3 additions and 0 deletions

View File

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

View File

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