From 4288952139b5b14c6a3f6d7e20e7dbd6f471e5f7 Mon Sep 17 00:00:00 2001 From: Matt Ickstadt Date: Sat, 15 Jun 2024 12:55:58 -0500 Subject: [PATCH] ci: run lunr-fixture-gen --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3347a67..0f03f91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,23 @@ jobs: toolchain: ${{ matrix.rust }} override: true + - name: Install node.js + uses: actions/setup-node@v4 + with: + node-version: '18' + cache: 'npm' + cache-dependency-path: tests/lunr-fixture-gen/package-lock.json + + - name: Run lunr-fixture-gen + run: | + cd tests/lunr-fixture-gen + npm install + npm run build + + - name: Check that the fixtures haven't changed + run: | + git diff --exit-code tests/lunr-fixture-gen + - name: Build (all features) uses: actions-rs/cargo@v1 with: