3 Commits

Author SHA1 Message Date
Qiao Han
87162dc7e9 feat: bump default cli version to 1.136.3 2024-01-31 12:44:59 +08:00
Han Qiao
f528525aab chore: update check-dist.yml for node20 (#257) 2024-01-29 00:20:23 +08:00
Han Qiao
b7e5a9d3ac chore: update docs for updating action v1 2024-01-29 00:12:30 +08:00
4 changed files with 10 additions and 19 deletions

View File

@@ -23,10 +23,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set Node.js 16.x
- name: Set Node.js 20.x
uses: actions/setup-node@v4.0.1
with:
node-version: 16.x
node-version: 20.x
cache: npm
- name: Install dependencies

View File

@@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
version:
- 1.28.3
- 1.136.3
- latest
pg_major:
- 14

View File

@@ -24,7 +24,7 @@ A specific version of the `supabase` CLI can be installed:
steps:
- uses: supabase/setup-cli@v1
with:
version: 1.28.3
version: 1.136.3
```
Run `supabase db start` to execute all migrations on a fresh database:
@@ -44,9 +44,9 @@ Since Supabase CLI relies on Docker Engine API, additional setup may be required
The actions supports the following inputs:
| Name | Type | Description | Default | Required |
| --------- | ------ | ---------------------------------- | -------- | -------- |
| `version` | String | Supabase CLI version (or `latest`) | `1.28.3` | false |
| Name | Type | Description | Default | Required |
| --------- | ------ | ---------------------------------- | --------- | -------- |
| `version` | String | Supabase CLI version (or `latest`) | `1.136.3` | false |
## Advanced Usage
@@ -114,17 +114,8 @@ $ npm test
Actions are run from GitHub repos so we will checkin the packed dist folder.
Then run [ncc](https://github.com/zeit/ncc) and push the results:
```bash
$ npm run all
$ git add dist
$ git commit -a -m "Update dependencies"
$ git tag -f v1
$ git push -f --tags
```
Note: We recommend using the `--license` option for ncc, which will create a license file for all of the production node modules used in your project.
1. Create a new GitHub release
2. Rebase `v1` branch on `main`
Your action is now published! :rocket:

View File

@@ -5,7 +5,7 @@ inputs:
version:
description: Version of Supabase CLI to install
required: false
default: 1.28.3
default: 1.136.3
outputs:
version:
description: Version of installed Supabase CLI