From f86788e872fc5c6c0208f6619d72a6afe06f506f Mon Sep 17 00:00:00 2001 From: AdityaSalunkhe21 Date: Fri, 19 Dec 2025 12:09:38 +0530 Subject: [PATCH] Add a build gitea workflow --- .gitea/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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 00000000..bab28620 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,33 @@ +name: Build + +on: + push: + branches: [master, dev] + paths: + - 'src/**' + pull_request: + branches: [master, dev] + paths: + - 'src/**' + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20.x' + + - name: Enable corepack and yarn + run: corepack enable + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Build project + run: yarn build -- 2.45.2