Skip to content

feat(frontend): created a pipeline to generate pdfs #5

feat(frontend): created a pipeline to generate pdfs

feat(frontend): created a pipeline to generate pdfs #5

name: Generate Documentation for the frontend
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v3
- name: Install dependencies
run: yarn install
- name: Generate docs in markdown
run: yarn run typedoc
- name: Convert md to pdf files
run: yarn run convert-md-to-pdf
- name: Upload PDF artifact
uses: actions/upload-artifact@v3
with:
name: documentations
path: ./docs/**/*.pdf