Skip to content

Commit fcdbb06

Browse files
committed
ci: fix e2e test api steps
1 parent c9d8985 commit fcdbb06

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci-test-e2e.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@ jobs:
213213
run: |
214214
set -o xtrace
215215
216-
npm run testapi
216+
npm run testapi || s=$?
217217
218218
docker compose -f ../../docker-compose-ci.yml stop
219219
220220
ls -la "$COVERAGE_DIR"
221-
exit "$s"
221+
exit "${s:-0}"
222222
223223
- name: E2E Test API (Livechat)
224224
if: inputs.type == 'api-livechat'
@@ -229,12 +229,12 @@ jobs:
229229
run: |
230230
set -o xtrace
231231
232-
npm run testapi:livechat
232+
npm run testapi:livechat || s=$?
233233
234234
docker compose -f ../../docker-compose-ci.yml stop
235235
236236
ls -la "$COVERAGE_DIR"
237-
exit "$s"
237+
exit "${s:-0}"
238238
239239
- name: E2E Test UI (${{ matrix.shard }}/${{ inputs.total-shard }})
240240
if: inputs.type == 'ui'

0 commit comments

Comments
 (0)