@@ -162,7 +162,7 @@ jobs:
162162 run : echo "DEBUG_LOG_LEVEL=2" >> "$GITHUB_ENV"
163163
164164 - name : Start httpbin container and wait for it to be ready
165- if : inputs.type == 'api' || inputs.type == 'api-livechat'
165+ if : startsWith( inputs.type, 'api')
166166 run : |
167167 docker compose -f docker-compose-ci.yml up -d httpbin
168168
@@ -181,7 +181,7 @@ jobs:
181181 # behavior on (rate-limiter bypass, short cache TTLs) while letting
182182 # the deprecation logger log without throwing. Other suites use the
183183 # docker-compose default of TEST_MODE='true'.
184- TEST_MODE : ${{ (inputs.type == 'api' || inputs.type == 'api-livechat ') && 'api' || 'true' }}
184+ TEST_MODE : ${{ startsWith (inputs.type, 'api') && 'api' || 'true' }}
185185 run : |
186186 # when we are testing CE, we only need to start the rocketchat container
187187 DEBUG_LOG_LEVEL=${DEBUG_LOG_LEVEL:-0} docker compose -f docker-compose-ci.yml up -d rocketchat --wait
@@ -192,7 +192,8 @@ jobs:
192192 ENTERPRISE_LICENSE : ${{ inputs.enterprise-license }}
193193 TRANSPORTER : ${{ inputs.transporter }}
194194 COMPOSE_PROFILES : ${{ inputs.type == 'api' && 'api' || '' }}
195- TEST_MODE : ${{ (inputs.type == 'api' || inputs.type == 'api-livechat') && 'api' || 'true' }}
195+ TEST_MODE : ${{ startsWith(inputs.type, 'api') && 'api' || 'true' }}
196+ APPS_ENGINE_RUNTIME_BACKEND : ${{ inputs.type == 'api-apps-node' && 'node' || '' }}
196197 run : |
197198 DEBUG_LOG_LEVEL=${DEBUG_LOG_LEVEL:-0} docker compose -f docker-compose-ci.yml up -d --wait
198199
@@ -229,6 +230,23 @@ jobs:
229230 ls -la "$COVERAGE_DIR"
230231 exit "${s:-0}"
231232
233+ # This step should be temporary, only here until we remove the deno-runtime
234+ - name : E2E Test API (apps + node-runtime)
235+ if : (inputs.type == 'api-apps-node' && inputs.release == 'ee')
236+ working-directory : ./apps/meteor
237+ env :
238+ WEBHOOK_TEST_URL : ' http://httpbin'
239+ IS_EE : ' true'
240+ run : |
241+ set -o xtrace
242+
243+ npm run testapi:apps || s=$?
244+
245+ docker compose -f ../../docker-compose-ci.yml stop
246+
247+ ls -la "$COVERAGE_DIR"
248+ exit "${s:-0}"
249+
232250 - name : E2E Test API (Livechat)
233251 if : inputs.type == 'api-livechat'
234252 working-directory : ./apps/meteor
0 commit comments