From 05dd9fcdf1740083dbcf7a74101b2de508b4e386 Mon Sep 17 00:00:00 2001 From: Rajendra Reddy Date: Mon, 13 Apr 2026 01:55:53 +0000 Subject: [PATCH] Add .gitea/workflows/build.yml --- .gitea/workflows/build.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..169ee1d --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,34 @@ +name: Klc-HR-Dashboard-Frontend-Build-Check + +on: + pull_request: + branches: + - main + - beta + - testing + - client + - staging + - production + +jobs: + build-test: + name: Build and Test PR + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install Dependencies + run: npm install + + - name: Build Check + run: npm run build + + - name: Audit Dependencies + run: npm audit --audit-level=critical \ No newline at end of file