Merge pull request 'ci: anno apply workflow builds dist for strict verify' (#118) from chore/fix-anno-verify-build into main
Reviewed-on: #118
This commit was merged in pull request #118.
This commit is contained in:
@@ -135,7 +135,22 @@ jobs:
|
|||||||
source /tmp/anno.env
|
source /tmp/anno.env
|
||||||
[[ "${SKIP:-0}" != "1" ]] || { echo "ℹ️ skipped"; exit 0; }
|
[[ "${SKIP:-0}" != "1" ]] || { echo "ℹ️ skipped"; exit 0; }
|
||||||
npm ci
|
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)
|
- name: Apply ticket on bot branch (strict+verify, commit)
|
||||||
env:
|
env:
|
||||||
FORGE_TOKEN: ${{ secrets.FORGE_TOKEN }}
|
FORGE_TOKEN: ${{ secrets.FORGE_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user