Use Debian Node image for gateway builds
This commit is contained in:
@@ -148,8 +148,8 @@ test('production paths use only the compiled dispatcher', () => {
|
||||
assert.doesNotMatch(entrypoint, /\/app\/src/);
|
||||
}
|
||||
assert.match(workflow, /npm run build:production/);
|
||||
assert.match(workflow, /NODE_BUILD_IMAGE: mirror\.gcr\.io\/library\/node:20\.19-alpine/);
|
||||
assert.match(workflow, /docker run --rm "\$\{\{ env\.NODE_BUILD_IMAGE \}\}" sh -lc 'command -v npm/);
|
||||
assert.match(workflow, /NODE_BUILD_IMAGE: mirror\.gcr\.io\/library\/node:20\.19-bookworm/);
|
||||
assert.match(workflow, /command -v npm[^']+command -v git[^']+test -x \/bin\/bash/);
|
||||
assert.doesNotMatch(workflow, /docker image inspect "\$\{\{ env\.NODE_BUILD_IMAGE \}\}"/);
|
||||
assert.match(legacyBuild, /npm run build:production && docker build/);
|
||||
assert.match(dockerignore, /^dist$/m);
|
||||
|
||||
Reference in New Issue
Block a user