Skip to content

Commit 30419e8

Browse files
authored
Merge pull request #39976 from github/repo-sync
Repo sync
2 parents 68469e8 + 2d332d7 commit 30419e8

File tree

6 files changed

+9
-3
lines changed

6 files changed

+9
-3
lines changed

.github/workflows/headless-tests.yml

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

.github/workflows/local-dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ 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+
# workaround for https://github.com/nodejs/node/issues/59364 as of 22.18.0
54+
NODE_OPTIONS: '--no-experimental-strip-types'
5355
run: npm run playwright-test -- playwright-local-dev
5456

5557
- name: Start server in the background

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FROM ghcr.io/github/gh-base-image/gh-base-noble:20250805-204228-g50c20871f AS ba
1818
# Must run as root
1919
RUN apt-get -qq update && apt-get -qq install --no-install-recommends curl git \
2020
&& curl -sL https://deb.nodesource.com/setup_22.x | bash - \
21-
&& apt-get install -y nodejs=22.17.0-1nodesource1 \
21+
&& apt-get install -y nodejs \
2222
&& node --version
2323

2424
# Create the node user and home directory

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
"esm": "^3.2.25"
329329
},
330330
"engines": {
331-
"node": "^20 || >=22.0.0 <22.18.0"
331+
"node": "^20 || ^22"
332332
},
333333
"cacheDirectories": [
334334
"node_modules",

src/frame/middleware/app-router-gateway.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export default function appRouterGateway(req: ExtendedRequest, res: Response, ne
4848

4949
if (
5050
path.startsWith('/_next/') ||
51+
path.startsWith('/_build') ||
5152
path.startsWith('/assets/') ||
5253
path.startsWith('/public/') ||
5354
path.startsWith('/api/') ||

0 commit comments

Comments
 (0)