mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
chore: setup integration test environment in CI workflow
This commit is contained in:
@@ -12,4 +12,13 @@ jobs:
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
- run: bun install
|
||||
- run: bun typecheck
|
||||
- name: Create integration test env
|
||||
run: |
|
||||
{
|
||||
echo "HAPI_HOME=~/.hapi-dev-test"
|
||||
echo "HAPI_SERVER_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
|
||||
|
||||
Reference in New Issue
Block a user