Skip to content

Commit 5e810d7

Browse files
committed
improvements
1 parent 1592a14 commit 5e810d7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/external-test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ on:
2323
description: 'SHA from triggering repository'
2424
required: true
2525
type: string
26-
triggering_ref:
27-
description: 'Git ref from triggering repository'
28-
required: true
29-
type: string
3026

3127
env:
3228
NODE_VERSION: '20'
@@ -35,6 +31,7 @@ jobs:
3531
test-with-preview-dependency:
3632
name: Test supabase-js with preview dependency
3733
runs-on: ubuntu-latest
34+
timeout-minutes: 30 # Overall job timeout
3835
steps:
3936
- name: Generate GitHub App token
4037
id: generate-token
@@ -131,6 +128,7 @@ jobs:
131128
- name: Run Type Check
132129
id: type-check
133130
continue-on-error: true
131+
timeout-minutes: 5
134132
run: |
135133
if npm run test:types; then
136134
echo "result=success" >> $GITHUB_OUTPUT
@@ -143,6 +141,7 @@ jobs:
143141
version: latest
144142

145143
- name: Start Supabase
144+
timeout-minutes: 10
146145
run: supabase start
147146

148147
- name: Install jq for JSON parsing
@@ -151,6 +150,7 @@ jobs:
151150
- name: Run Unit Tests
152151
id: unit-tests
153152
continue-on-error: true
153+
timeout-minutes: 10
154154
run: |
155155
if npm run test:coverage; then
156156
echo "result=success" >> $GITHUB_OUTPUT
@@ -160,6 +160,7 @@ jobs:
160160
- name: Run Integration Tests
161161
id: integration-tests
162162
continue-on-error: true
163+
timeout-minutes: 10
163164
run: |
164165
export SUPABASE_SERVICE_ROLE_KEY="$(supabase status --output json | jq -r '.SERVICE_ROLE_KEY')"
165166
if npm run test:integration; then

0 commit comments

Comments
 (0)