mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-17 13:36:48 -07:00
fix(ci): add build step to k8s and aws integration jobs
The orchestrator tests need compiled output (dist/index.js) to exist before running integration tests that spawn containers/k8s jobs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -385,6 +385,12 @@ jobs:
|
|||||||
|
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Build orchestrator
|
||||||
|
run: |
|
||||||
|
echo "Building orchestrator TypeScript..."
|
||||||
|
yarn build
|
||||||
|
echo "✓ orchestrator build successful"
|
||||||
|
|
||||||
# --- Fast unit tests (fast-fail gate before heavy infra tests) ---
|
# --- Fast unit tests (fast-fail gate before heavy infra tests) ---
|
||||||
- name: Run orchestrator unit tests (fast, no infra)
|
- name: Run orchestrator unit tests (fast, no infra)
|
||||||
timeout-minutes: 2
|
timeout-minutes: 2
|
||||||
@@ -679,6 +685,12 @@ jobs:
|
|||||||
|
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Build orchestrator
|
||||||
|
run: |
|
||||||
|
echo "Building orchestrator TypeScript..."
|
||||||
|
yarn build
|
||||||
|
echo "✓ orchestrator build successful"
|
||||||
|
|
||||||
# --- AWS Test 1: orchestrator-image ---
|
# --- AWS Test 1: orchestrator-image ---
|
||||||
- name: Run orchestrator-image test (AWS)
|
- name: Run orchestrator-image test (AWS)
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user