From 783d5c1eed7f6652e6ce341515f6b5ecf9aa29bb Mon Sep 17 00:00:00 2001 From: liuxiaohui Date: Tue, 30 Jun 2026 05:29:23 +0000 Subject: [PATCH] ci: pin @antora/pdf-extension to 1.0.0-beta.20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @antora/pdf-extension@1.0.0-rc.1 (published 2026-06-29) bundles @antora/assembler@1.0.0-rc.1, which calls contentCatalog.createFile() — a method absent from @antora/content-classifier@3.1.10 used by the pinned antora@3.1.7. The unpinned install began resolving to rc.1, causing 'FATAL (antora): contentCatalog.createFile is not a function'. Pin to the last-known-good 1.0.0-beta.20 to restore the working toolchain. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/merge-build-push.yml | 2 +- .github/workflows/pr-preview.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge-build-push.yml b/.github/workflows/merge-build-push.yml index fb430c3f..1245236a 100644 --- a/.github/workflows/merge-build-push.yml +++ b/.github/workflows/merge-build-push.yml @@ -188,7 +188,7 @@ jobs: - name: Install Antora CLI run: | echo "Installing Antora packages local..." - npm install --global antora@3.1.7 @antora/lunr-extension @antora/pdf-extension @node-rs/jieba + npm install --global antora@3.1.7 @antora/lunr-extension @antora/pdf-extension@1.0.0-beta.20 @node-rs/jieba - name: Build English Documentation working-directory: ./ivory-doc-builder diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 3a0f2386..70f8fb24 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -109,7 +109,7 @@ jobs: - name: Install Antora CLI run: | echo "Installing Antora packages local..." - npm install --global antora@3.1.7 @antora/lunr-extension @antora/pdf-extension @node-rs/jieba + npm install --global antora@3.1.7 @antora/lunr-extension @antora/pdf-extension@1.0.0-beta.20 @node-rs/jieba - name: Build English Documentation working-directory: ./ivory-doc-builder