feat(frontend): created a pipeline to generate pdfs #5
Workflow file for this run
This file contains 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: 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 |