ci: LibreOffice builds formula objects, and node strips the TS import

libreoffice-writer alone has no Math component, so Writer dropped every formula
it imported — Word's own OMML included — and the fuzz leg saw the loss.
node 20 cannot import tests/schemaValidate.ts, which the monkey run does; 24
strips the types. node 20 is end of life anyway.
This commit is contained in:
Steffen Becker committed 2026-09-06 20:11:55 +02:00
1 parent b8afa9d36b
commit 6794533830
2 files changed
+7 -6

No files matched your search

+6 -5
View File
@@ -19,7 +19,7 @@ jobs:
|| { echo "a test reads the gitignored parity corpus"; exit 1; }
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
cache: npm
- run: npm ci
- run: npm run check
@@ -38,10 +38,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
cache: npm
# poppler-utils rasterizes the PDFs the render-consistency leg compares.
- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libreoffice-writer fonts-liberation poppler-utils
# libreoffice-math builds the formula objects both importers read back (without it
# Writer drops every formula); poppler-utils rasterizes the render-consistency PDFs.
- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libreoffice-writer libreoffice-math fonts-liberation poppler-utils
- run: npm ci
- run: npm run test:lo
- run: npx playwright-core install --with-deps chromium
@@ -65,7 +66,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
cache: npm
- run: npm ci
- run: npx playwright-core install --with-deps ${{ matrix.browser }}
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
cache: npm
- run: npm ci
- run: npm run build