Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 55768bb

Browse files
committed
just set option in workflows env
1 parent 7dc078f commit 55768bb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/headless-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
- name: Run Playwright tests
5858
env:
5959
PLAYWRIGHT_WORKERS: ${{ fromJSON('[1, 4]')[github.repository == 'github/docs-internal'] }}
60+
NODE_OPTIONS: '--no-experimental-strip-types'
61+
6062
# Run playwright rendering tests and a11y tests (axe scans) as distinct checks
6163
# so that we can run them without blocking merges until we can be confident
6264
# results for a11y tests are meaningul and scenarios we're testing are correct.

.github/workflows/local-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
# by default failures are marked as "flaky" instead of "failed".
5151
PLAYWRIGHT_RETRIES: 0
5252
TEST_EARLY_ACCESS: ${{ github.repository == 'github/docs-internal' }}
53+
NODE_OPTIONS: '--no-experimental-strip-types'
5354
run: npm run playwright-test -- playwright-local-dev
5455

5556
- name: Start server in the background

0 commit comments

Comments
 (0)