Skip to content

Commit

Permalink
Check if generated files are up-to-date on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Jan 1, 2025
1 parent e8d94d0 commit 37c819f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,11 @@ jobs:
key: node-modules-${{ hashFiles('package.json') }}
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Check generated files
run: |
# Check if diff is empty
git diff --exit-code --stat ${{ github.sha }} -- lib/
- name: Run Lint
run: npm run lint

0 comments on commit 37c819f

Please sign in to comment.