mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-01-29 03:59:08 +08:00
build: Update built artifacts after linting fixes
- Rebuild dist/ with latest changes - Include updated provider loader in built bundle - Ensure all changes are reflected in compiled output
This commit is contained in:
1
.github/workflows/cloud-runner-integrity.yml
vendored
1
.github/workflows/cloud-runner-integrity.yml
vendored
@@ -91,7 +91,6 @@ jobs:
|
||||
- name: Start LocalStack (S3)
|
||||
uses: localstack/setup-localstack@v0.2.3
|
||||
with:
|
||||
services: s3
|
||||
install-awslocal: true
|
||||
- name: Create S3 bucket for tests (host LocalStack)
|
||||
run: |
|
||||
|
||||
10
dist/index.js
generated
vendored
10
dist/index.js
generated
vendored
@@ -4484,12 +4484,12 @@ async function loadProvider(providerName, buildParameters) {
|
||||
try {
|
||||
// Map provider names to their module paths for built-in providers
|
||||
const providerModuleMap = {
|
||||
'aws': './aws',
|
||||
'k8s': './k8s',
|
||||
'test': './test',
|
||||
aws: './aws',
|
||||
k8s: './k8s',
|
||||
test: './test',
|
||||
'local-docker': './docker',
|
||||
'local-system': './local',
|
||||
'local': './local'
|
||||
local: './local',
|
||||
};
|
||||
const modulePath = providerModuleMap[providerName] || providerName;
|
||||
importedModule = await Promise.resolve().then(() => __importStar(require(modulePath)));
|
||||
@@ -4516,7 +4516,7 @@ async function loadProvider(providerName, buildParameters) {
|
||||
];
|
||||
for (const method of requiredMethods) {
|
||||
if (typeof instance[method] !== 'function') {
|
||||
throw new Error(`Provider package '${providerName}' does not implement ProviderInterface. Missing method '${method}'.`);
|
||||
throw new TypeError(`Provider package '${providerName}' does not implement ProviderInterface. Missing method '${method}'.`);
|
||||
}
|
||||
}
|
||||
cloud_runner_logger_1.default.log(`Successfully loaded provider: ${providerName}`);
|
||||
|
||||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user