diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 15806bd..5bfa02f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: build-and-test: strategy: matrix: - os: [docker] + os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/quartz-pages.yml b/.github/workflows/quartz-pages.yml index c15cbdc..4baf812 100644 --- a/.github/workflows/quartz-pages.yml +++ b/.github/workflows/quartz-pages.yml @@ -33,11 +33,7 @@ jobs: repository: GameCult/GameCult-Quartz path: GameCult-Quartz - # Pages actions exist only on GitHub: the forge runner resolves actions - # from data.forgejo.org, which has no actions/configure-pages, so the job - # failed there. Build always; touch Pages only on the GitHub mirror. - name: Configure Pages - if: github.server_url == 'https://github.com' uses: actions/configure-pages@v5 - name: Setup Node @@ -60,13 +56,11 @@ jobs: --outputDir "${{ inputs.output-dir }}" - name: Upload Pages artifact - if: github.server_url == 'https://github.com' uses: actions/upload-pages-artifact@v3 with: path: ${{ inputs.output-dir }} deploy: - if: github.server_url == 'https://github.com' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/quartz/plugins/emitters/ogImage.tsx b/quartz/plugins/emitters/ogImage.tsx index f0e6015..dae44b9 100644 --- a/quartz/plugins/emitters/ogImage.tsx +++ b/quartz/plugins/emitters/ogImage.tsx @@ -98,7 +98,7 @@ async function generateSocialImage( imageBase64, }) - const svg = await satori(imageComponent as unknown as Parameters[0], { + const svg = await satori(imageComponent, { width, height, fonts, diff --git a/quartz/plugins/transformers/latex.ts b/quartz/plugins/transformers/latex.ts index c33869e..a9f54f3 100644 --- a/quartz/plugins/transformers/latex.ts +++ b/quartz/plugins/transformers/latex.ts @@ -12,8 +12,7 @@ import { Options as TypstOptions } from "@myriaddreamin/rehype-typst" interface Options { renderEngine: "katex" | "mathjax" | "typst" customMacros: MacroType - // `output` defaults to "html"; "htmlAndMathml" adds MathML for screen readers (KaTeX hides it visually). - katexOptions: Omit + katexOptions: Omit mathJaxOptions: Omit typstOptions: TypstOptions }