File tree Expand file tree Collapse file tree
interpreter/customlabels/integrationtests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ func TestIntegration(t *testing.T) {
6363 // is on v25 by then.
6464 "latest" ,
6565 "22.19.0" ,
66- "20.19.5" ,
6766 } {
6867 name := "node-" + nodeVersion
6968 t .Run (name , func (t * testing.T ) {
Original file line number Diff line number Diff line change 1- ARG NODE_VERSION=20
1+ ARG NODE_VERSION=22
22FROM node:${NODE_VERSION}
33
44# Install build dependencies for native modules
@@ -25,5 +25,9 @@ COPY *.js ./
2525# Expose ports for app and gdbserver
2626EXPOSE 80
2727
28- # Start the application
29- CMD ["node" , "index.js" ]
28+ # Start the application with conditional flag for Node < 24
29+ CMD if [ $(node -v | cut -c2- | cut -d. -f1) -lt 24 ]; then \
30+ exec node --experimental-async-context-frame index.js; \
31+ else \
32+ exec node index.js; \
33+ fi
You can’t perform that action at this time.
0 commit comments