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