tests starting #10
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: o1js typedoc | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
Build-Doc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: Run typedoc | |
run: | | |
GIT_LFS_SKIP_SMUDGE=1 git submodule update --init --recursive | |
npm ci | |
npx typedoc --tsconfig tsconfig.node.json src/index.ts | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |