parent
6f5a39c212
commit
9aeef0116d
13
.forgejo/workflows/test.yaml
Normal file
13
.forgejo/workflows/test.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: node-16
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v4
|
||||
- uses: https://github.com/oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
- name: Run CI script
|
||||
run: bun run ci
|
|
@ -7,10 +7,14 @@
|
|||
"dev": "bun run --filter=* dev",
|
||||
"web:build": "bun run --filter=web build",
|
||||
"server:run": "bun run --filter=server dev",
|
||||
"server:prisma-generate": "bunx prisma generate --schema=./server/prisma/schema.prisma"
|
||||
"server:prisma-generate": "bunx prisma generate --schema=./server/prisma/schema.prisma",
|
||||
"fta:server": "fta server --score-cap 60",
|
||||
"fta:web": "fta web --score-cap 60",
|
||||
"ci": "bun run web:build && bun run fta:server && bun run fta:web"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest"
|
||||
"@types/bun": "latest",
|
||||
"fta-cli": "^2.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5.0.0"
|
||||
|
|
Loading…
Reference in a new issue