mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
ci: setup esbuild for integration tests
This commit is contained in:
parent
180978bc50
commit
a416a255fb
@ -362,6 +362,10 @@ class Esbuild {
|
||||
return limit(async () => {
|
||||
const functionName = path.extname(functionObject[handlerPropertyName]).slice(1);
|
||||
const handlerPath = functionObject[handlerPropertyName].replace(`.${functionName}`, '');
|
||||
console.log('ESBUILD_BINARY_PATH FOR BUILD', process.env.ESBUILD_BINARY_PATH);
|
||||
if(!existsSync(process.env.ESBUILD_BINARY_PATH)) {
|
||||
console.log('ESBUILD_BINARY_PATH DOES NOT EXIST', process.env.ESBUILD_BINARY_PATH);
|
||||
}
|
||||
await esbuild.build({
|
||||
...buildProperties,
|
||||
platform: 'node',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user