ci(runtime): align external front workflow trigger paths
Normalize DocV external front runtime workflow path filters to keep release runtime checks synchronized with current repository layout.
This commit is contained in:
parent
c5685f61f8
commit
6e93195cde
@ -5,7 +5,7 @@ on:
|
||||
branches:
|
||||
- "release/**"
|
||||
paths:
|
||||
- "**/src/**"
|
||||
- "**/src/lib/docv-sdk/**"
|
||||
- "**/package.json"
|
||||
- "**/package-lock.json"
|
||||
- ".gitea/workflows/docv-front-runtime-release.yml"
|
||||
@ -51,7 +51,7 @@ jobs:
|
||||
test -n "${DOCV_IT_API_VERSION}"
|
||||
test -n "${DOCV_IT_ORIGIN}"
|
||||
|
||||
- name: Run DocV runtime integration checks on discovered fronts
|
||||
- name: Run mandatory DocV runtime integration checks on all fronts
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mapfile -t docv_surfaces < <(node <<'NODE'
|
||||
@ -101,8 +101,8 @@ jobs:
|
||||
NODE
|
||||
)
|
||||
if [[ "${#docv_surfaces[@]}" -eq 0 ]]; then
|
||||
echo "[docv-front-runtime-release] no docv runtime integration surface found, skip."
|
||||
exit 0
|
||||
echo "[docv-front-runtime-release] no docv runtime integration surface found" >&2
|
||||
exit 1
|
||||
fi
|
||||
for surface in "${docv_surfaces[@]}"; do
|
||||
if [[ ! -f "${surface}/package.json" ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user