Skip to content

Commit 8d9b743

Browse files
committed
chore(ci): add longer timeout to test
1 parent 46445ee commit 8d9b743

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/ci-core.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555

5656
- name: Run test:ci for affected packages
5757
run: npx nx affected --target=test:ci
58+
timeout-minutes: 20
5859

5960
- name: Upload coverage for functions-js (if affected)
6061
uses: coverallsapp/github-action@v2

packages/core/postgrest-js/jest.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ const config: Config.InitialOptions = {
1010
testSequencer: '<rootDir>/test/testSequencer.js',
1111
// Use local Prettier v2 only for Jest inline snapshots
1212
prettierPath: require.resolve('prettier'),
13+
// Increase timeout for CI environments (default is 5000ms)
14+
testTimeout: 30000,
1315
globals: {
1416
// For consistency between VSCode and type-check
1517
// https://github.com/supabase/postgrest-js/pull/627#discussion_r2236995331

0 commit comments

Comments
 (0)