@@ -111,13 +111,9 @@ jobs:
111111 fail-on-error : false
112112 continue-on-error : true
113113 deno-tests :
114- name : Deno Tests / ${{ matrix.deno }}
114+ name : Deno Tests
115115 runs-on : ubuntu-latest
116116 needs : build-package
117- strategy :
118- matrix :
119- deno : ['1.x', '2.x']
120- fail-fast : false
121117 steps :
122118 - name : Checkout code
123119 uses : actions/checkout@v4
@@ -128,7 +124,7 @@ jobs:
128124 - name : Setup Deno
129125 uses : denoland/setup-deno@v2
130126 with :
131- deno-version : ${{ matrix.deno }}
127+ deno-version : ' 2.x '
132128
133129 - name : Setup Supabase CLI
134130 uses : supabase/setup-cli@v1
@@ -183,21 +179,7 @@ jobs:
183179 npm view @supabase/supabase-js version --registry http://localhost:4873
184180 npm view @supabase/supabase-js --registry http://localhost:4873 | head -20
185181
186- - name : Run Deno Tests (1.x)
187- if : ${{ matrix.deno == '1.x' }}
188- env :
189- STORAGE_JS_ENTRY : main
190- DENO_NPM_REGISTRY : http://localhost:4873
191- run : |
192- cd packages/core/supabase-js/test/deno
193- echo "registry=http://localhost:4873/" > .npmrc
194- npm install
195- npm test || npm test
196- rm -f .npmrc
197- cd ../../..
198-
199- - name : Run Deno Tests (2.x)
200- if : ${{ matrix.deno == '2.x' }}
182+ - name : Run Deno Tests
201183 env :
202184 DENO_NPM_REGISTRY : http://localhost:4873
203185 run : |
@@ -208,12 +190,10 @@ jobs:
208190 rm -f .npmrc
209191 cd ../../..
210192
211- - name : Run integration and browser tests on Deno 2.x only
212- if : ${{ matrix.deno == '2.x' }}
193+ - name : Run integration and browser tests
213194 run : npx nx test:integration:browser supabase-js
214195
215196 - name : Run Edge Functions Tests
216- if : ${{ matrix.deno == '2.x' }}
217197 run : |
218198 cd packages/core/supabase-js/test/deno
219199 npm run test:edge-functions
0 commit comments