change npm to npx for marp
Build marp presentation / build marp presentation (push) Successful in 7m58s
Build marp presentation / build marp presentation (push) Successful in 7m58s
This commit is contained in:
@@ -10,19 +10,19 @@ jobs:
|
||||
id: restore-cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: /opt/acttoolcache
|
||||
path: /root/.npm
|
||||
key: node-marp-installation
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: install marp
|
||||
if: steps.restore-cache.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
npm install -g @marp-team/marp-cli@latest
|
||||
npx @marp-team/marp-cli@latest
|
||||
- name: cache marp installation
|
||||
if: steps.restore-cache.outputs.cache-hit != 'true'
|
||||
uses: actions/cache/save@v3
|
||||
with:
|
||||
path: /opt/acttoolcache
|
||||
path: /root/.npm
|
||||
key: node-marp-installation
|
||||
- name: build presentation
|
||||
working-directory: ./presentation
|
||||
|
||||
Reference in New Issue
Block a user