add pdf render
Build marp presentation / build marp presentation (push) Failing after 7m29s

This commit is contained in:
Romane
2026-05-06 16:56:53 +02:00
parent 5062e98313
commit 6de5f84cc4
+8 -6
View File
@@ -10,24 +10,26 @@ jobs:
id: restore-cache
uses: actions/cache@v3
with:
path: /root/.npm
key: node-marp-installation
path: /root/
key: installation-cache
- name: checkout
uses: actions/checkout@v4
- name: install marp
- name: install marp toolchain
if: steps.restore-cache.outputs.cache-hit != 'true'
run: |
npx @marp-team/marp-cli@latest
npx @marp-team/marp-cli@latest && \
npx playwright install --with-deps chromium
- name: cache marp installation
if: steps.restore-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
with:
path: /root/.npm
key: node-marp-installation
path: /root/
key: installation-cache
- name: build presentation
working-directory: ./presentation
run: |
npx @marp-team/marp-cli@latest presentation.md --html -o index.html --theme-set ./themes -- && \
npx @marp-team/marp-cli@latest presentation.md --html -o presentation.pdf --theme-set ./themes -- && \
zip -r ../presentation.zip .
- name: upload to pages
run: |