chore(deps): update dependency @types/node to v20.11.30 (#947) #507
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@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: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 |