mirror of
https://github.com/garrytan/gstack.git
synced 2026-06-17 15:20:11 +02:00
ci(make-pdf): install emoji font + run emoji gate on Ubuntu
Install fonts-noto-color-emoji before Chromium launches on the Ubuntu leg (macOS already ships Apple Color Emoji), refresh fontconfig, and log the fc-match result. Run the whole make-pdf/test/e2e/ dir so the emoji gate runs alongside the combined-features copy-paste gate. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -51,6 +51,15 @@ jobs:
|
||||
if: matrix.os == 'ubicloud-standard-8'
|
||||
run: sudo apt-get update && sudo apt-get install -y poppler-utils
|
||||
|
||||
# Install a color-emoji font BEFORE Chromium launches so the emoji render
|
||||
# gate has a fallback font. macOS ships Apple Color Emoji already.
|
||||
- name: Install color-emoji font (Ubuntu)
|
||||
if: matrix.os == 'ubicloud-standard-8'
|
||||
run: |
|
||||
sudo apt-get install -y fonts-noto-color-emoji
|
||||
fc-cache -f || true
|
||||
fc-match -f '%{family[0]}\t%{color}\n' ':lang=und-zsye:charset=1F600' || true
|
||||
|
||||
- name: Install Playwright Chromium
|
||||
run: bunx playwright install chromium
|
||||
|
||||
@@ -74,7 +83,7 @@ jobs:
|
||||
- name: Run make-pdf unit tests
|
||||
run: bun test make-pdf/test/*.test.ts
|
||||
|
||||
- name: Run combined-features copy-paste gate (P0)
|
||||
- name: Run E2E gates (combined-features copy-paste + emoji render)
|
||||
env:
|
||||
BROWSE_BIN: ${{ github.workspace }}/browse/dist/browse
|
||||
run: bun test make-pdf/test/e2e/combined-gate.test.ts
|
||||
run: bun test make-pdf/test/e2e/
|
||||
|
||||
Reference in New Issue
Block a user