mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-09-29 12:07:05 -07:00
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:
@@ -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) {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user