feat(ci): stamp build metadata and validate footer version hash

This commit is contained in:
2026-02-11 19:06:55 +01:00
parent 3de4d5732e
commit af52b8581f
5 changed files with 72 additions and 4 deletions

View File

@@ -84,6 +84,12 @@ jobs:
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Resolve build metadata
run: |
version=$(bun -e 'const pkg = JSON.parse(await Bun.file("package.json").text()); console.log(pkg.version)')
echo "NEXT_PUBLIC_APP_VERSION=$version" >> "$GITHUB_ENV"
echo "NEXT_PUBLIC_GIT_SHA=${GITHUB_SHA}" >> "$GITHUB_ENV"
- name: Install Playwright browser deps
run: bunx playwright install --with-deps chromium