build(deps): bump hono from 4.12.31 to 4.13.0 #119
Workflow file for this run
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: test:integration | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "src/**" | |
| - "tests/**" | |
| - "Dockerfile" | |
| - "docker-compose.yml" | |
| - "package.json" | |
| - "package-lock.json" | |
| - ".github/workflows/test:integration.yml" | |
| workflow_dispatch: | |
| jobs: | |
| integrationtest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: "24" | |
| - name: start server | |
| run: docker compose up -d | |
| - name: install dependencies | |
| run: npm install | |
| # the app container installs dependencies at startup, so listening | |
| # begins well after `docker compose up -d` returns | |
| - name: wait for server | |
| run: | | |
| timeout 300 bash -c 'until curl -sf http://localhost:3000/health > /dev/null; do sleep 2; done' \ | |
| || { docker compose logs app; exit 1; } | |
| - name: run test | |
| run: npm run test:integration |