From 490f4ec8a46eace161ea82ebc9f954a47f31edcc Mon Sep 17 00:00:00 2001 From: Pranav Date: Wed, 31 Dec 2025 06:57:59 +0000 Subject: [PATCH] Update lint CI to trigger on push to main branch (#13) Co-authored-by: AdityaSalunkhe21 Co-authored-by: Prathamesh Musale Co-authored-by: Shreerang Kale Reviewed-on: https://git.vdb.to/LaconicNetwork/zenith-wallet-web/pulls/13 Co-authored-by: Pranav Co-committed-by: Pranav --- .gitea/workflows/lint-and-build.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/lint-and-build.yml b/.gitea/workflows/lint-and-build.yml index 2551219..c7e3079 100644 --- a/.gitea/workflows/lint-and-build.yml +++ b/.gitea/workflows/lint-and-build.yml @@ -3,17 +3,20 @@ name: Lint and Build on: pull_request: branches: [ main ] + push: + branches: [ main ] jobs: lint-and-build: name: Run lint and build checks runs-on: ubuntu-latest + steps: - name: Checkout repository - uses: actions/checkout@v2 - + uses: actions/checkout@v4 + - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '22' @@ -22,9 +25,9 @@ jobs: - name: Install dependencies run: yarn install --frozen-lockfile - + - name: Run ESLint run: yarn lint - + - name: Run build run: yarn build