Skip to content

Feat/improve test coverage 1 (#818) #398

Feat/improve test coverage 1 (#818)

Feat/improve test coverage 1 (#818) #398

Workflow file for this run

name: Documentation generator
on:
push:
branches:
- main
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: setup node.js
uses: actions/setup-node@v4
- name: install dependencies
run: |
npm clean-install
npm i -d @types/node
- run: npm run build
- name: build typedoc site
run: |
npx typedoc
- name: make git repo to push to github actions
run: |
cd documentation
git init
git add -A
git config user.name 'GitHub Actions'
git config user.email '[email protected]'
git commit -sam "$(date -Iseconds)"
touch .nojekyll
- name: push documentation files to docs branch
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
force: true
directory: documentation