From af221694a086f508445037cd1323c6871ff074fa Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Wed, 31 Dec 2025 10:30:42 +0000 Subject: [PATCH] Add a CI workflow for build (#7) Part of https://plan.wireit.in/deepstack/browse/VUL-309/ Co-authored-by: AdityaSalunkhe21 Reviewed-on: https://git.vdb.to/LaconicNetwork/cosmos-explorer/pulls/7 --- .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