Balance Checker #13
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: Balance Checker | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
balances: | |
name: Balance Check | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./debug-ui | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run the balance checker. Crashes on failure | |
run: yarn tsx scripts/balance-checker.ts | |
env: | |
RPC_URL: ${{ secrets.RPC_URL }} |