@@ -167,7 +167,7 @@ jobs:
167167 run : echo "DEBUG_LOG_LEVEL=2" >> "$GITHUB_ENV"
168168
169169 - name : Start httpbin container and wait for it to be ready
170- if : inputs.type == 'api' || inputs.type == 'api-livechat'
170+ if : startsWith( inputs.type, 'api')
171171 run : |
172172 docker compose -f docker-compose-ci.yml up -d httpbin
173173
@@ -186,7 +186,7 @@ jobs:
186186 # behavior on (rate-limiter bypass, short cache TTLs) while letting
187187 # the deprecation logger log without throwing. Other suites use the
188188 # docker-compose default of TEST_MODE='true'.
189- TEST_MODE : ${{ (inputs.type == 'api' || inputs.type == 'api-livechat ') && 'api' || 'true' }}
189+ TEST_MODE : ${{ startsWith (inputs.type, 'api') && 'api' || 'true' }}
190190 run : |
191191 # when we are testing CE, we only need to start the rocketchat container
192192 DEBUG_LOG_LEVEL=${DEBUG_LOG_LEVEL:-0} docker compose -f docker-compose-ci.yml up -d rocketchat --wait
@@ -197,7 +197,8 @@ jobs:
197197 ENTERPRISE_LICENSE : ${{ inputs.enterprise-license }}
198198 TRANSPORTER : ${{ inputs.transporter }}
199199 COMPOSE_PROFILES : ${{ inputs.type == 'api' && 'api' || '' }}
200- TEST_MODE : ${{ (inputs.type == 'api' || inputs.type == 'api-livechat') && 'api' || 'true' }}
200+ TEST_MODE : ${{ startsWith(inputs.type, 'api') && 'api' || 'true' }}
201+ APPS_ENGINE_RUNTIME_BACKEND : ${{ inputs.type == 'api-apps-node' && 'node' || '' }}
201202 run : |
202203 DEBUG_LOG_LEVEL=${DEBUG_LOG_LEVEL:-0} docker compose -f docker-compose-ci.yml up -d --wait
203204
@@ -234,6 +235,23 @@ jobs:
234235 ls -la "$COVERAGE_DIR"
235236 exit "${s:-0}"
236237
238+ # This step should be temporary, only here until we remove the deno-runtime
239+ - name : E2E Test API (apps + node-runtime)
240+ if : (inputs.type == 'api-apps-node' && inputs.release == 'ee')
241+ working-directory : ./apps/meteor
242+ env :
243+ WEBHOOK_TEST_URL : ' http://httpbin'
244+ IS_EE : ' true'
245+ run : |
246+ set -o xtrace
247+
248+ npm run testapi:apps || s=$?
249+
250+ docker compose -f ../../docker-compose-ci.yml stop
251+
252+ ls -la "$COVERAGE_DIR"
253+ exit "${s:-0}"
254+
237255 - name : E2E Test API (Livechat)
238256 if : inputs.type == 'api-livechat'
239257 working-directory : ./apps/meteor
0 commit comments