build: reorder CI/CD
This commit is contained in:
16
.gitea/workflows/1-ci.yml
Normal file
16
.gitea/workflows/1-ci.yml
Normal file
@ -0,0 +1,16 @@
|
||||
name: TrafficCue Server CI
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- name: Install dependencies
|
||||
run: bun i
|
||||
- run: bunx eslint
|
||||
- run: bunx prettier --check .
|
||||
- run: bun test
|
||||
env:
|
||||
DATABASE_URL: ${{ secrets.DATABASE_URL }}
|
||||
Reference in New Issue
Block a user