Skip to content

Commit

Permalink
ci: run lunr-fixture-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
mattico committed Jun 15, 2024
1 parent caf900c commit 4288952
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4288952

Please sign in to comment.