From 01d4a1ee43ca4a884d2ed4fe37b04e1e73101287 Mon Sep 17 00:00:00 2001 From: Tommy Bidne Date: Tue, 10 Dec 2024 00:05:21 +1300 Subject: [PATCH] Add CI for web --- .github/workflows/ci.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 284c9de..3385656 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -63,6 +63,31 @@ jobs: - name: Compile & Test run: nix build + web: + strategy: + fail-fast: false + matrix: + os: + - "macos-latest" + - "ubuntu-latest" + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 23.x + + - name: Install dependencies + run: | + cd web + npm install + + - name: Build frontend + run: | + cd web + npx webpack lint: runs-on: "ubuntu-latest" steps: