chore(deps): update dependency typedoc to v0.25.2 (#566) #335
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: "Create documentation and deploy to Github pages" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
create-documentation-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install Dependencies | |
run: yarn install --immutable --immutable-cache | |
- name: Run tsc for tsc cache | |
run: yarn tsc | |
- name: Generate Typedoc | |
run: yarn typedoc --tsconfig tsconfig.doc.json | |
- name: Generate Coverage | |
run: yarn test --coverage --coverageReporters=lcov --coverageDirectory=docs/coverage/ | |
- name: Create nojekyll | |
run: touch docs/.nojekyll | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |