mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-03 13:44:33 -04:00
Add ci for api
This commit is contained in:
parent
956ab51e1b
commit
02d1197f6b
17
.github/workflows/coding-style.yml
vendored
17
.github/workflows/coding-style.yml
vendored
@ -16,6 +16,23 @@ jobs:
|
|||||||
dotnet tool restore
|
dotnet tool restore
|
||||||
dotnet csharpier . --check
|
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:
|
front:
|
||||||
name: "Lint Front"
|
name: "Lint Front"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
5
.github/workflows/docker.yml
vendored
5
.github/workflows/docker.yml
vendored
@ -29,6 +29,11 @@ jobs:
|
|||||||
label: migrations
|
label: migrations
|
||||||
image: zoriya/kyoo_migrations
|
image: zoriya/kyoo_migrations
|
||||||
|
|
||||||
|
- context: ./api
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
label: api
|
||||||
|
image: zoriya/kyoo_api
|
||||||
|
|
||||||
- context: ./front
|
- context: ./front
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
label: front
|
label: front
|
||||||
|
Loading…
x
Reference in New Issue
Block a user