fix(ci): run npm lifecycle hooks in selected host lanes (#15169)

* fix(ci): run npm lifecycle hooks in selected host lanes

* fix(ci): avoid nested lifecycle hooks in host lanes

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
This commit is contained in:
authored and GitHub committed 2026-11-30 16:19:02 +08:00
1 parent c86e86d697
commit 91380cff6a
6 files changed
+48 -6

No files matched your search

+7 -1
View File
@@ -37,4 +37,10 @@ jobs:
name: rea-test-runtime
path: .
- name: Verify SQLite discovery, inspection and cleanup
run: npm run test:sqlite:run
# The downloaded runtime supplies the preparation done by test:sqlite.
# Run named hooks without adding their own pre/post lifecycle.
shell: bash
run: |
npm run --ignore-scripts --if-present pretest:sqlite
npm run test:sqlite:run
npm run --ignore-scripts --if-present posttest:sqlite