Skip to content

feat(ci): added Github Actions pipeline to build PDFs #1

feat(ci): added Github Actions pipeline to build PDFs

feat(ci): added Github Actions pipeline to build PDFs #1

Workflow file for this run

name: build
on:
[push,pull_request]
#env:
jobs:
# Checks syntax formatting.
convert:
name: Convert to PDF
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./slides
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Use Node.js
with:
node-version: '20.x'
run: "pwd"
- run: "npm ci"
- run: "npx marp --html --pdf --pdf-outlines --pdf-outlines.pages=false -I . -o dist"
- uses: actions/upload-artifact@v3
name: Archive built PDFs
with:
name: dist-pdfs
path: dist/[0-1]*.pdf
run: pwd