From eb083225af180a4d2e1c9913c8cbc2ac6dfd520b Mon Sep 17 00:00:00 2001 From: Arjuna Date: Sun, 11 Jan 2026 11:16:43 +0700 Subject: [PATCH] feat: CI check added --- .github/workflows/ci-checks.yml | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/ci-checks.yml diff --git a/.github/workflows/ci-checks.yml b/.github/workflows/ci-checks.yml new file mode 100644 index 0000000..e498ea7 --- /dev/null +++ b/.github/workflows/ci-checks.yml @@ -0,0 +1,43 @@ +name: CI integrity checks + +on: + pull_request: + branches: + - main + - dev + +jobs: + Backend-checks: + name: Backend integrity checks + runs-on: self-hosted + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Go + uses: actions/setup-go@v4 + with: + go-version: '1.21' + + - name: Verify Backend Build + run: | + cd Backend + go build -v ./... + + Frontend-checks: + name: Frontend integrity checks + runs-on: self-hosted + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Verify Frontend Build + run: | + cd Frontend/project-CL + npm install + npm run build \ No newline at end of file