Merge pull request #1075 from o1-labs/live-test-upd #325
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: Build SnarkyJS | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
Build-Doc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: run typedoc | |
run: | | |
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 |