try chrome rendering
Build marp presentation / build marp presentation (push) Failing after 1m41s

This commit is contained in:
Romane
2026-05-06 18:06:12 +02:00
parent 6de5f84cc4
commit 27843844fa
+8 -8
View File
@@ -10,26 +10,26 @@ jobs:
id: restore-cache id: restore-cache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: /root/ path: /opt/acttoolcache/
key: installation-cache key: marp-installation
- name: checkout - name: checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: install marp toolchain - name: install marp toolchain
if: steps.restore-cache.outputs.cache-hit != 'true' if: steps.restore-cache.outputs.cache-hit != 'true'
run: | run: |
npx @marp-team/marp-cli@latest && \ npm i -g -y @marp-team/marp-cli@latest playwright && \
npx playwright install --with-deps chromium playwright install --with-deps chrome
- name: cache marp installation - name: cache marp installation
if: steps.restore-cache.outputs.cache-hit != 'true' if: steps.restore-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v3 uses: actions/cache/save@v3
with: with:
path: /root/ path: /opt/acttoolcache
key: installation-cache key: marp-installation
- name: build presentation - name: build presentation
working-directory: ./presentation working-directory: ./presentation
run: | run: |
npx @marp-team/marp-cli@latest presentation.md --html -o index.html --theme-set ./themes -- && \ marp presentation.md --html -o index.html --theme-set ./themes -- && \
npx @marp-team/marp-cli@latest presentation.md --html -o presentation.pdf --theme-set ./themes -- && \ marp presentation.md --html --browser chrome --allow-local-files -o presentation.pdf --theme-set ./themes -- && \
zip -r ../presentation.zip . zip -r ../presentation.zip .
- name: upload to pages - name: upload to pages
run: | run: |