Skip to content

Commit 4288952

Browse files
committed
ci: run lunr-fixture-gen
1 parent caf900c commit 4288952

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,23 @@ jobs:
3131
toolchain: ${{ matrix.rust }}
3232
override: true
3333

34+
- name: Install node.js
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: '18'
38+
cache: 'npm'
39+
cache-dependency-path: tests/lunr-fixture-gen/package-lock.json
40+
41+
- name: Run lunr-fixture-gen
42+
run: |
43+
cd tests/lunr-fixture-gen
44+
npm install
45+
npm run build
46+
47+
- name: Check that the fixtures haven't changed
48+
run: |
49+
git diff --exit-code tests/lunr-fixture-gen
50+
3451
- name: Build (all features)
3552
uses: actions-rs/cargo@v1
3653
with:

0 commit comments

Comments
 (0)