Update hapi runner command to use start-sync (#685) #1566
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 | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.14 | |
| - run: bun install | |
| - run: bun typecheck | |
| - name: Create integration test env | |
| run: | | |
| { | |
| echo "HAPI_HOME=~/.hapi-dev-test" | |
| echo "HAPI_API_URL=http://localhost:3006" | |
| echo "CLI_API_TOKEN=${CLI_API_TOKEN:-dev-test-token}" | |
| echo "HAPI_DAEMON_HTTP_TIMEOUT=60000" | |
| echo "HAPI_DAEMON_HEARTBEAT_INTERVAL=30000" | |
| } > cli/.env.integration-test | |
| - run: bun run test |