From 4d6fd7b6dd1a5579891c3ed1fdcf727ae40812e9 Mon Sep 17 00:00:00 2001 From: Eunice <110993924+unixfundz@users.noreply.github.com> Date: Fri, 26 Jun 2026 16:16:22 +0000 Subject: [PATCH] ci: add frontend build and lint gating (#312) --- .github/workflows/ci.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3012d56..1175a9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,10 +47,30 @@ jobs: - name: Run property-based tests run: cargo test prop_ --all --features testutils + frontend: + name: Frontend Build & Lint + runs-on: ubuntu-latest + defaults: + run: + working-directory: frontend + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + cache-dependency-path: frontend/package-lock.json + - name: Install dependencies + run: npm ci + - name: Lint + run: npm run lint + - name: Build + run: npm run build + build: name: Build WASM runs-on: ubuntu-latest - needs: [fmt, lint, test] + needs: [fmt, lint, test, frontend] steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable