ci: anno apply workflow builds dist for strict verify
All checks were successful
CI / build-and-anchors (push) Successful in 1m59s
SMOKE / smoke (push) Successful in 23s

This commit is contained in:
2026-02-25 19:29:36 +01:00
parent 105dfe1b5b
commit 6c7b7ab6a0

View File

@@ -135,7 +135,22 @@ jobs:
source /tmp/anno.env
[[ "${SKIP:-0}" != "1" ]] || { echo " skipped"; exit 0; }
npm ci
test -f scripts/apply-annotation-ticket.mjs || { echo "❌ missing scripts/apply-annotation-ticket.mjs on main"; exit 1; }
- name: Build dist (needed for --verify)
run: |
set -euo pipefail
# génère dist + para-index.json (via postbuild)
npm run build:clean
test -f dist/para-index.json || {
echo "❌ missing dist/para-index.json after build"
ls -la dist | sed -n '1,160p'
exit 1
}
echo "✅ dist/para-index.json present"
- name: Apply ticket on bot branch (strict+verify, commit)
env:
FORGE_TOKEN: ${{ secrets.FORGE_TOKEN }}