-
-
Notifications
You must be signed in to change notification settings - Fork 402
24 lines (22 loc) · 743 Bytes
/
test.yml
File metadata and controls
24 lines (22 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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_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