From c521eb1917213252437cb5676054a6b3b37f6df7 Mon Sep 17 00:00:00 2001 From: Stedoss <29103029+Stedoss@users.noreply.github.com> Date: Tue, 28 Jul 2026 09:50:37 +0100 Subject: [PATCH] Create simple CI workflow --- .gitea/workflows/build-test.yml | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .gitea/workflows/build-test.yml diff --git a/.gitea/workflows/build-test.yml b/.gitea/workflows/build-test.yml new file mode 100644 index 0000000..8414bf6 --- /dev/null +++ b/.gitea/workflows/build-test.yml @@ -0,0 +1,52 @@ +name: Build & Test + +on: + push: + branches: + - main + pull_request: + branches: + - '*' + +jobs: + build-backend: + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up .NET + uses: actions/setup-dotnet@v5 + with: + dotnet-version: '10.0.x' + + - name: Restore .NET Tools + - run: dotnet tool restore + + - name: Check formatting + - run: dotnet csharpier format . + + - name: Build + run: dotnet build + + - name: Test + run: dotnet test + + build-frontend: + defaults: + run: + working-directory: ./src/mission-control-client + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install dependencies + run: npm ci + + - name: Check formatting + run: npm run format:check + + - name: Build + run: npm run build + + - name: Test + run: npm test \ No newline at end of file