chore: axios base query with retry; error handling; qr-code scan #58
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: | |
- '**' | |
jobs: | |
generate-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone project | |
uses: actions/checkout@v4 | |
- name: Use Node.js 22.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile --silent | |
- 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@v4 | |
with: | |
name: documentations | |
path: ./docs/**/*.pdf |