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