feat: add webhook server for standalone deployment #12
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| - run: bun install | |
| - run: bun run typecheck | |
| - run: bun run lint | |
| - run: bun run format:check | |
| - run: bun run build | |
| - name: Check dist/ is up to date | |
| run: | | |
| if [ -n "$(git diff --name-only dist/)" ]; then | |
| echo "::error::dist/ is out of date. Run 'bun run build' and commit the result." | |
| git diff --stat dist/ | |
| exit 1 | |
| fi |