fix: lower vulnerabilities + harden docker setup

also includes a github workflow
This commit is contained in:
2026-06-17 22:18:55 -04:00
parent 4f5ca9a069
commit d16f1f872f
16 changed files with 164 additions and 137 deletions
+35
View File
@@ -0,0 +1,35 @@
name: CI
on:
pull_request:
push:
branches:
- main
jobs:
backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- run: dotnet restore SharpbinV3.Server/SharpbinV3.Server.csproj
- run: dotnet build SharpbinV3.Server/SharpbinV3.Server.csproj --configuration Release --no-restore
frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: SharpbinV3.Client
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: SharpbinV3.Client/package-lock.json
- run: npm ci
- run: npm run check
- run: npm run lint
- run: npm run build