chore: run periodic tests twice a day (#60)

* chore: run periodic tests twice a day

* chore: add v1.5.1 to build matrix
This commit is contained in:
Han Qiao
2022-09-30 09:16:30 +08:00
committed by GitHub
parent 3bf62a5d9e
commit dada0b91e9
2 changed files with 31 additions and 2 deletions

30
.github/workflows/start.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
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
jobs:
e2e: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
strategy:
matrix:
version:
- 1.0.0
- 1.5.1
steps:
- uses: actions/checkout@v3
- uses: ./
with:
version: ${{ matrix.version }}
- run: supabase init
- run: supabase start

View File

@@ -4,7 +4,6 @@ on: # rebuild any PRs and main branch changes
push:
branches:
- main
- 'releases/*'
defaults:
run:
@@ -22,7 +21,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
version: [1.0.0]
version: [1.0.0, 1.5.1]
steps:
- uses: actions/checkout@v3
- uses: ./