change npm to npx for marp
Build marp presentation / build marp presentation (push) Successful in 7m58s

This commit is contained in:
Romane
2026-05-06 09:45:00 +02:00
parent 96f3ff1d9e
commit e80f8c6d09
+3 -3
View File
@@ -10,19 +10,19 @@ jobs:
id: restore-cache id: restore-cache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: /opt/acttoolcache path: /root/.npm
key: node-marp-installation key: node-marp-installation
- name: checkout - name: checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: install marp - name: install marp
if: steps.restore-cache.outputs.cache-hit != 'true' if: steps.restore-cache.outputs.cache-hit != 'true'
run: | run: |
npm install -g @marp-team/marp-cli@latest npx @marp-team/marp-cli@latest
- 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: /opt/acttoolcache path: /root/.npm
key: node-marp-installation key: node-marp-installation
- name: build presentation - name: build presentation
working-directory: ./presentation working-directory: ./presentation