Skip to content

Commit

Permalink
💚 Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BattleCh1cken committed May 21, 2024
1 parent 2bbe4c1 commit 1cc6687
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 4 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1cc6687

Please sign in to comment.