Skip to content

Commit

Permalink
reduce timeout errors
Browse files Browse the repository at this point in the history
ijjk committed Sep 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f81e681 commit 3020a11
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
@@ -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
6 changes: 4 additions & 2 deletions test/development/basic/hmr.test.ts
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3020a11

Please sign in to comment.