Skip to content

refactor: fix lint #344

refactor: fix lint

refactor: fix lint #344

Workflow file for this run

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@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Enable Corepack
run: corepack enable
- 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