Handle immediate crashes more gracefully #64
test.yml
on: push
test-starts
6s
test-realistic
13s
test-invalid-config
20s
Annotations
1 error
test-invalid-config
Error: Turbo server failed to start on port: 43007
Server error log:
/home/runner/work/turborepo-remote-cache-gh-action/turborepo-remote-cache-gh-action/dist/server/index.cjs:101455
throw error
^
Error: env/STORAGE_PROVIDER must be equal to constant, env/STORAGE_PROVIDER must be equal to constant, env/STORAGE_PROVIDER must be equal to constant, env/STORAGE_PROVIDER must be equal to constant, env/STORAGE_PROVIDER must be equal to constant, env/STORAGE_PROVIDER must match a schema in anyOf
at envSchema (/home/runner/work/turborepo-remote-cache-gh-action/turborepo-remote-cache-gh-action/dist/server/index.cjs:101453:19)
at 21968 (/home/runner/work/turborepo-remote-cache-gh-action/turborepo-remote-cache-gh-action/dist/server/index.cjs:233214:38)
at __nccwpck_require__ (/home/runner/work/turborepo-remote-cache-gh-action/turborepo-remote-cache-gh-action/dist/server/index.cjs:240177:43)
at /home/runner/work/turborepo-remote-cache-gh-action/turborepo-remote-cache-gh-action/dist/server/index.cjs:240236:23
at /home/runner/work/turborepo-remote-cache-gh-action/turborepo-remote-cache-gh-action/dist/server/index.cjs:240249:3
at Object.<anonymous> (/home/runner/work/turborepo-remote-cache-gh-action/turborepo-remote-cache-gh-action/dist/server/index.cjs:240252:12)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12) {
errors: [
{
instancePath: '/STORAGE_PROVIDER',
schemaPath: '#/properties/STORAGE_PROVIDER/anyOf/0/const',
keyword: 'const',
params: { allowedValue: 'local' },
message: 'must be equal to constant'
},
{
instancePath: '/STORAGE_PROVIDER',
schemaPath: '#/properties/STORAGE_PROVIDER/anyOf/1/const',
keyword: 'const',
params: { allowedValue: 'S3' },
message: 'must be equal to constant'
},
{
instancePath: '/STORAGE_PROVIDER',
schemaPath: '#/properties/STORAGE_PROVIDER/anyOf/2/const',
keyword: 'const',
params: { allowedValue: 's3' },
message: 'must be equal to constant'
},
{
instancePath: '/STORAGE_PROVIDER',
schemaPath: '#/properties/STORAGE_PROVIDER/anyOf/3/const',
keyword: 'const',
params: { allowedValue: 'google-cloud-storage' },
message: 'must be equal to constant'
},
{
instancePath: '/STORAGE_PROVIDER',
schemaPath: '#/properties/STORAGE_PROVIDER/anyOf/4/const',
keyword: 'const',
params: { allowedValue: 'azure-blob-storage' },
message: 'must be equal to constant'
},
{
instancePath: '/STORAGE_PROVIDER',
schemaPath: '#/properties/STORAGE_PROVIDER/anyOf',
keyword: 'anyOf',
params: {},
message: 'must match a schema in anyOf'
}
]
}
Node.js v20.11.0
|