build(deps-dev): bump @types/node from 22.19.15 to 25.7.0 #44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check dist/ | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "src/**" | |
| - "package.json" | |
| - "tsconfig.json" | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-dist: | |
| name: Verify dist/ is up to date | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - run: bun install --frozen-lockfile | |
| - name: Rebuild dist/ | |
| run: bun run build | |
| - name: Check for uncommitted changes | |
| run: | | |
| if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then | |
| echo "::error::dist/ is out of date. Run 'bun run build' and commit the changes." | |
| git diff --stat dist/ | |
| exit 1 | |
| fi | |
| echo "dist/ is up to date." |