Skip to content

πŸ§ͺ Run Tests #209

πŸ§ͺ Run Tests

πŸ§ͺ Run Tests #209

Workflow file for this run

name: πŸ§ͺ Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * *' # Run every day at midnight to ensure the reverse engineered API is up to date.
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Run tests
uses: nick-fields/retry@v2
with:
timeout_minutes: 5
max_attempts: 3
command: bun run test
env:
RECLAIM_ACCESS_TOKEN: ${{ secrets.RECLAIM_ACCESS_TOKEN }}
- name: Build library
run: bun run build
env:
RECLAIM_ACCESS_TOKEN: ${{ secrets.RECLAIM_ACCESS_TOKEN }}