Skip to content

Commit

Permalink
reduce timeout errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Sep 30, 2024
1 parent f81e681 commit 3020a11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
- run: turbo run get-test-timings -- --build ${{ github.sha }}

- run: /bin/bash -c "${{ inputs.afterBuild }}"
timeout-minutes: 15
timeout-minutes: 20

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
6 changes: 4 additions & 2 deletions test/development/basic/hmr.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ import { NextConfig } from 'next'

describe.each([
{ basePath: '', assetPrefix: '' },
{ basePath: '', assetPrefix: '/asset-prefix' },
{ 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>) => {
const { basePath } = nextConfig
let next: NextInstance
Expand Down

0 comments on commit 3020a11

Please sign in to comment.