parent
6f5a39c212
commit
9aeef0116d
3 changed files with 19 additions and 2 deletions
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
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -7,10 +7,14 @@
|
||||||
"dev": "bun run --filter=* dev",
|
"dev": "bun run --filter=* dev",
|
||||||
"web:build": "bun run --filter=web build",
|
"web:build": "bun run --filter=web build",
|
||||||
"server:run": "bun run --filter=server dev",
|
"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": {
|
"devDependencies": {
|
||||||
"@types/bun": "latest"
|
"@types/bun": "latest",
|
||||||
|
"fta-cli": "^2.0.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^5.0.0"
|
||||||
|
|
Loading…
Reference in a new issue