diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76a9454..c913dd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: id: setup-typst - name: Run checks run: | - just install + just package local + just package preview just gallery # TODO: run unit tests here diff --git a/justfile b/justfile index 63f5015..ab68d0e 100644 --- a/justfile +++ b/justfile @@ -8,5 +8,7 @@ install: gallery: #!/usr/bin/env bash - for f in "{{gallery_dir}}"/*.typ; do typst c "$f" --format png "${f/.typ}-{n}.png" --root ./; done - exit 1 + set -euxo pipefail + for f in "{{gallery_dir}}"/*.typ; do + typst c "$f" --format png "${f/.typ}-{n}.png" --root ./ + done