Add ci for api

This commit is contained in:
Zoe Roux 2025-01-18 16:21:08 +01:00
parent 956ab51e1b
commit 02d1197f6b
2 changed files with 22 additions and 0 deletions

View File

@ -16,6 +16,23 @@ jobs:
dotnet tool restore
dotnet csharpier . --check
api:
name: "Lint api"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./api
steps:
- uses: actions/checkout@v4
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- name: Run Biome
run: biome ci .
front:
name: "Lint Front"
runs-on: ubuntu-latest

View File

@ -29,6 +29,11 @@ jobs:
label: migrations
image: zoriya/kyoo_migrations
- context: ./api
dockerfile: Dockerfile
label: api
image: zoriya/kyoo_api
- context: ./front
dockerfile: Dockerfile
label: front