Bump pnpm/action-setup from 5 to 6 #34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Marp | |
| on: | |
| push: | |
| branches: ["master"] | |
| paths: | |
| - "presentation/presentation_fr-FR.md" | |
| - ".github/workflows/marp.yml" | |
| pull_request: | |
| branches: ["master"] | |
| paths: | |
| - "presentation/presentation_fr-FR.md" | |
| - ".github/workflows/marp.yml" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Use Node.js LTS/Jod | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: ".node-version" | |
| cache: "pnpm" | |
| - name: Install Chromium | |
| run: sudo apt-get install -y chromium-browser | |
| # https://github.com/marp-team/marp-cli | |
| - name: Install Marp CLI | |
| run: pnpm install -g @marp-team/marp-cli | |
| - name: Build PDF Slide Deck | |
| run: marp --pdf --allow-local-files ./presentation/presentation_fr-FR.md | |
| - name: Upload PDF Slide Deck | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: presentation_fr-FR | |
| path: ./presentation/presentation_fr-FR.pdf |