Skip to content

Commit

Permalink
ci: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nvlang committed Jun 20, 2024
1 parent 446216b commit 110eb2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/vitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
docker run --rm \
-v ${{ runner.temp }}/docker_workspace:/workspace \
-w /workspace texlive/texlive:latest \
/bin/bash -c "apt-get update && apt-get install -y curl gnupg && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs && npm install -g pnpm && pnpm install --store=/workspace/.pnpm-store && pnpm test"
/bin/bash -c "apt-get update && apt-get install -y curl gnupg gnupg poppler-data poppler-utils && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs && npm install -g pnpm && pnpm install --store=/workspace/.pnpm-store && pnpm test"
- name: Upload test artifacts
uses: actions/upload-artifact@v4
Expand Down
6 changes: 5 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

ENV PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/texlive/2024/bin/x86_64-linux:/usr/local/texlive/2024/bin/custom:/usr/local/texlive/2024/bin:/usr/bin/poppler"
# Verify installation and set PATH
RUN which pdfinfo && which pdftocairo

# Set environment variable for Poppler path
ENV PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/texlive/2024/bin/x86_64-linux:/usr/local/texlive/2024/bin/custom:/usr/local/texlive/2024/bin"

0 comments on commit 110eb2b

Please sign in to comment.