-
Hey! For my projects, I am calling marp from within Python to help me automate some things. I want to run tests related to this automation on GitHub actions. For this, I need to install the marp-cli during an action run. Is there some preferred way of setting up marp on a runner, maybe something like the conda incubator? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you used GitHub hosted runner, all dependency to run Marp CLI are already installed (Node.js, Google Chrome). So you just run npx command as below: jobs:
marp:
runs-on: ubuntu-latest
steps:
- run: npx -y @marp-team/[email protected] ./slide.md -o ./output.pdf See also: https://github.com/marp-team/marp-cli#npx If you want to use |
Beta Was this translation helpful? Give feedback.
If you used GitHub hosted runner, all dependency to run Marp CLI are already installed (Node.js, Google Chrome). So you just run npx command as below:
See also: https://github.com/marp-team/marp-cli#npx
If you want to use
marp
command in entire of the workflow for non Node.js project, you can installmarp
globally in early of workflow steps.https://github.com/marp-team/marp-cli#global-installation