mirror of
https://github.com/supabase/setup-cli.git
synced 2026-02-09 03:45:28 +00:00
* fix: only test on latest
Should help with GitHub API rate limiting
* Update .github/workflows/test.yml
* fix: add github token to workflow
* fix: authenticate with github api
* chore: remove token env
* chore: update dist files
* Revert "chore: remove token env"
This reverts commit 913c7a8e6f.
* chore: use gh token env var
* chore: update user agent string
* chore: organize imports
Co-authored-by: Han Qiao <qiao@supabase.io>
34 lines
629 B
YAML
34 lines
629 B
YAML
name: CLI Start
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
tags:
|
|
- 'v*'
|
|
schedule:
|
|
# * is a special character in YAML so you have to quote this string
|
|
- cron: '30 1,9 * * *'
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
jobs:
|
|
e2e: # make sure the action works on a clean machine without building
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
version:
|
|
- 1.0.0
|
|
- latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ./
|
|
with:
|
|
version: ${{ matrix.version }}
|
|
- run: supabase init
|
|
- run: supabase start
|