Fix Plugin Architecture Health CI check for the thin-wrapper move

orchestrator-plugin.ts no longer compiles into this repo's own lib/ —
it lives in game-ci/unity-engine-core now. Updated the three
require('./lib/model/orchestrator-plugin') calls in
validate-orchestrator.yml and validate-orchestrator-integration.yml to
require the dependency's compiled path instead. Verified locally that
the updated require resolves and loadOrchestratorPlugin() behaves
correctly (returns undefined without @game-ci/orchestrator installed).
This commit is contained in:
frostebite
2026-08-13 03:06:49 +01:00
parent 9dbfdd0717
commit 80a5eee0f7
2 changed files with 4 additions and 4 deletions
@@ -115,7 +115,7 @@ jobs:
- name: Verify plugin loader returns exports with orchestrator installed - name: Verify plugin loader returns exports with orchestrator installed
run: | run: |
node -e " node -e "
const { loadOrchestratorPlugin } = require('./lib/model/orchestrator-plugin'); const { loadOrchestratorPlugin } = require('./node_modules/@game-ci/unity-engine-core/dist/unity-builder/model/orchestrator-plugin');
(async () => { (async () => {
const plugin = await loadOrchestratorPlugin(); const plugin = await loadOrchestratorPlugin();
if (plugin === undefined) { if (plugin === undefined) {
+3 -3
View File
@@ -127,7 +127,7 @@ jobs:
run: | run: |
echo "Checking plugin loader handles missing @game-ci/orchestrator..." echo "Checking plugin loader handles missing @game-ci/orchestrator..."
node -e " node -e "
const { loadOrchestratorPlugin } = require('./lib/model/orchestrator-plugin'); const { loadOrchestratorPlugin } = require('./node_modules/@game-ci/unity-engine-core/dist/unity-builder/model/orchestrator-plugin');
(async () => { (async () => {
const plugin = await loadOrchestratorPlugin(); const plugin = await loadOrchestratorPlugin();
if (plugin !== undefined) { if (plugin !== undefined) {
@@ -174,7 +174,7 @@ jobs:
run: | run: |
echo "Checking plugin loader returns defined exports..." echo "Checking plugin loader returns defined exports..."
node -e " node -e "
const { loadOrchestratorPlugin } = require('./lib/model/orchestrator-plugin'); const { loadOrchestratorPlugin } = require('./node_modules/@game-ci/unity-engine-core/dist/unity-builder/model/orchestrator-plugin');
(async () => { (async () => {
const plugin = await loadOrchestratorPlugin(); const plugin = await loadOrchestratorPlugin();
if (plugin === undefined) { if (plugin === undefined) {
@@ -219,7 +219,7 @@ jobs:
run: | run: |
echo "Verifying orchestrator build wiring end-to-end..." echo "Verifying orchestrator build wiring end-to-end..."
node -e " node -e "
const { loadOrchestratorPlugin } = require('./lib/model/orchestrator-plugin'); const { loadOrchestratorPlugin } = require('./node_modules/@game-ci/unity-engine-core/dist/unity-builder/model/orchestrator-plugin');
(async () => { (async () => {
// Verify plugin loads successfully with orchestrator installed // Verify plugin loads successfully with orchestrator installed