diff --git a/.github/workflows/test_and_release.yaml b/.github/workflows/test_and_release.yaml index 59028334..96d15bbe 100644 --- a/.github/workflows/test_and_release.yaml +++ b/.github/workflows/test_and_release.yaml @@ -55,6 +55,13 @@ jobs: run: npm ci --no-audit - run: npm run build + - name: Check build consistency + run: | + git diff --exit-code || { + echo -e "Some files changed after running npm run build! Please build the project locally and commit the changes."; + exit 1; + } + lint: name: Lint runs-on: ubuntu-latest