Skip to content

Commit dadb6ee

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

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

README.md

Lines changed: 6 additions & 7 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,6 +70,7 @@ Release job to push schema changes to a Supabase project:
7270
```yaml
7371
env:
7472
SUPABASE_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
73+
# Optionally set the postgres password for linking project database
7574
SUPABASE_DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
7675
# Retrieve <project-id> from dashboard url: https://app.supabase.com/project/<project-id>
7776
PROJECT_ID: <project-id>
@@ -84,12 +83,12 @@ env:
8483

8584
## Develop
8685

87-
> Requires `node >= 16`
86+
> Requires `node >= 20`
8887

8988
Install the dependencies
9089

9190
```bash
92-
$ npm install
91+
$ npm ci
9392
```
9493

9594
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)