refractor: change readme description #32
Workflow file for this run
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: Tests | |
env: | |
# prisma setip | |
DATABASE_URL: "file:./database/data.db" | |
# api setup | |
RATE_LIMIT: "200" | |
API_URL: "https://api.live.prod.thehelldiversgame.com/api" | |
# stratagem setup | |
STRATAGEM_IMAGE_URL: "https://vxspqnuarwhjjbxzgauv.supabase.co/storage/v1/object/public/stratagems" | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build-and-start: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- run: bun install | |
- run: bunx prisma generate | |
- run: bunx prisma migrate deploy | |
- run: bun generate | |
- run: bun test |