Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
3020a118
Commit
3020a118
authored
Sep 30, 2024
by
JJ Kasper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reduce timeout errors
parent
f81e6811
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
build_reusable.yml
.github/workflows/build_reusable.yml
+1
-1
hmr.test.ts
test/development/basic/hmr.test.ts
+4
-2
No files found.
.github/workflows/build_reusable.yml
View file @
3020a118
...
@@ -171,7 +171,7 @@ jobs:
...
@@ -171,7 +171,7 @@ jobs:
-
run
:
turbo run get-test-timings -- --build ${{ github.sha }}
-
run
:
turbo run get-test-timings -- --build ${{ github.sha }}
-
run
:
/bin/bash -c "${{ inputs.afterBuild }}"
-
run
:
/bin/bash -c "${{ inputs.afterBuild }}"
timeout-minutes
:
15
timeout-minutes
:
20
-
name
:
Upload artifact
-
name
:
Upload artifact
uses
:
actions/upload-artifact@v4
uses
:
actions/upload-artifact@v4
...
...
test/development/basic/hmr.test.ts
View file @
3020a118
...
@@ -19,9 +19,11 @@ import { NextConfig } from 'next'
...
@@ -19,9 +19,11 @@ import { NextConfig } from 'next'
describe
.
each
([
describe
.
each
([
{
basePath
:
''
,
assetPrefix
:
''
},
{
basePath
:
''
,
assetPrefix
:
''
},
{
basePath
:
''
,
assetPrefix
:
'/asset-prefix'
},
{
basePath
:
'/docs'
,
assetPrefix
:
''
},
{
basePath
:
'/docs'
,
assetPrefix
:
''
},
{
basePath
:
'/docs'
,
assetPrefix
:
'/asset-prefix'
},
// this is a long running test reduce runtime by
// only running on main cases above
// { basePath: '', assetPrefix: '/asset-prefix' },
// { basePath: '/docs', assetPrefix: '/asset-prefix' },
])(
'basic HMR, nextConfig: %o'
,
(
nextConfig
:
Partial
<
NextConfig
>
)
=>
{
])(
'basic HMR, nextConfig: %o'
,
(
nextConfig
:
Partial
<
NextConfig
>
)
=>
{
const
{
basePath
}
=
nextConfig
const
{
basePath
}
=
nextConfig
let
next
:
NextInstance
let
next
:
NextInstance
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment