Chart Monitor #10333
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Chart Monitor | |
on: | |
schedule: | |
- cron: "0 * * * *" | |
workflow_dispatch: | |
jobs: | |
monitor: | |
name: Run the Chart Monitor | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository 🔍 | |
uses: actions/checkout@v3 | |
- name: Setup bun 🥟 | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1.0.23 | |
- name: Install dependencies 📦 | |
run: bun install --frozen-lockfile | |
- name: Run monitor 👁️ | |
env: | |
TURSO_DATABASE_URL: ${{ secrets.TURSO_DATABASE_URL }} | |
TURSO_AUTH_TOKEN: ${{ secrets.TURSO_AUTH_TOKEN }} | |
run: | | |
cd ./packages/monitor | |
bun start |