From 5d1da8793b19977a1cb4cdac2a47390b7154eae0 Mon Sep 17 00:00:00 2001 From: alexander Date: Sun, 14 Dec 2025 16:39:54 +0100 Subject: [PATCH] CI Fix: Node not found --- .gitea/workflows/build-script.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build-script.yaml b/.gitea/workflows/build-script.yaml index 3bf78e7..73ee49d 100644 --- a/.gitea/workflows/build-script.yaml +++ b/.gitea/workflows/build-script.yaml @@ -17,10 +17,6 @@ jobs: runs-on: ubuntu-latest # Run the whole job inside a Docker container that has Typst installed - container: - image: ghcr.io/typst/typst:latest - options: --user root - steps: - name: Checkout repository uses: actions/checkout@v4 @@ -32,10 +28,14 @@ jobs: - name: Compile all .typ files shell: bash - run: | - TYPST_SOURCE_DIR="${TYPST_SOURCE_DIR}" - BUILD_DIR="${BUILD_DIR}" - ./compile-all.bash + run: docker run --rm \ + -v "$PWD":/work \ + ghcr.io/typst/typst:latest \ + bash -c " + TYPST_SOURCE_DIR="${TYPST_SOURCE_DIR}" + BUILD_DIR="${BUILD_DIR}" + ./compile-all.bash + " - name: Upload PDFs if: always()