-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c417c50
commit 1c70d55
Showing
1 changed file
with
28 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,37 @@ | ||
name: Generate Documentation for the frontend | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
pull_request: | ||
branches: | ||
- '**' | ||
push: | ||
branches: | ||
- '**' | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
generate-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone project | ||
uses: actions/checkout@v3 | ||
generate-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone project | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
- name: Use Node.js 22.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 22.x | ||
cache: 'npm' | ||
|
||
- name: Generate docs in markdown | ||
run: yarn run typedoc | ||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Convert md to pdf files | ||
run: yarn run convert-md-to-pdf | ||
- name: Generate docs in markdown | ||
run: yarn run typedoc | ||
|
||
- name: Upload PDF artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: documentations | ||
path: ./docs/**/*.pdf | ||
- 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 |