Added a build script
All checks were successful
Build Typst PDFs (Docker) / build-typst (push) Successful in 6s

CI Fix: Node not found

Ci Fix
This commit is contained in:
alexander
2025-12-14 16:36:05 +01:00
parent 5a7e4764cc
commit 79c888f774
10 changed files with 9955 additions and 2508 deletions

View File

@@ -0,0 +1,31 @@
# .gitea/workflows/typst-build.yml
name: Build Typst PDFs (Docker)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Change this to the folder that contains your .typ files (relative to repo root)
env:
TYPST_SOURCE_DIR: src
BUILD_DIR: build
jobs:
build-typst:
runs-on: ubuntu-latest
# Run the whole job inside a Docker container that has Typst installed
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: false
lfs: false
- name: Show Typst & OS versions
run: |
typst --version || true
uname -a