Skip to content

Commit 12faafe

Browse files
committed
fix: bump default cli version to 2.33.0
1 parent 821f876 commit 12faafe

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/start.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- 14
3131
- 15
3232
- 17
33+
exclude:
34+
- version: 1.178.2
35+
pg_major: 17
3336
steps:
3437
- uses: actions/checkout@v4
3538
- uses: ./

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ A specific version of the `supabase` CLI can be installed:
2424
steps:
2525
- uses: supabase/setup-cli@v1
2626
with:
27-
version: 2.20.3
27+
version: 2.33.0
2828
```
2929

3030
Run `supabase db start` to execute all migrations on a fresh database:
@@ -34,7 +34,6 @@ steps:
3434
- uses: supabase/setup-cli@v1
3535
with:
3636
version: latest
37-
- run: supabase init
3837
- run: supabase db start
3938
```
4039

@@ -46,7 +45,7 @@ The actions supports the following inputs:
4645

4746
| Name | Type | Description | Default | Required |
4847
| --------- | ------ | ---------------------------------- | -------- | -------- |
49-
| `version` | String | Supabase CLI version (or `latest`) | `2.20.3` | false |
48+
| `version` | String | Supabase CLI version (or `latest`) | `2.33.0` | false |
5049

5150
## Advanced Usage
5251

@@ -55,11 +54,10 @@ Check generated TypeScript types are up-to-date with Postgres schema:
5554
```yaml
5655
steps:
5756
- uses: supabase/setup-cli@v1
58-
- run: supabase init
5957
- run: supabase db start
6058
- name: Verify generated types match Postgres schema
6159
run: |
62-
supabase gen types typescript --local > schema.gen.ts
60+
supabase gen types --local > schema.gen.ts
6361
if ! git diff --ignore-space-at-eol --exit-code --quiet schema.gen.ts; then
6462
echo "Detected uncommitted changes after build. See status below:"
6563
git diff
@@ -72,7 +70,6 @@ Release job to push schema changes to a Supabase project:
7270
```yaml
7371
env:
7472
SUPABASE_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
75-
SUPABASE_DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
7673
# Retrieve <project-id> from dashboard url: https://app.supabase.com/project/<project-id>
7774
PROJECT_ID: <project-id>
7875
@@ -84,12 +81,12 @@ env:
8481

8582
## Develop
8683

87-
> Requires `node >= 16`
84+
> Requires `node >= 20`
8885

8986
Install the dependencies
9087

9188
```bash
92-
$ npm install
89+
$ npm ci
9390
```
9491

9592
Build the typescript and package it for distribution

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
55
version:
66
description: Version of Supabase CLI to install
77
required: false
8-
default: 2.20.3
8+
default: 2.33.0
99
outputs:
1010
version:
1111
description: Version of installed Supabase CLI

0 commit comments

Comments
 (0)