This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
chore(release): 2.2.1 #40
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: Typedoc | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
name: Generate TS docs and publish to ghp | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16] | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@master | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm install | |
- name: Bootstrap lerna | |
run: npm run bootstrap | |
- name: Build packages | |
run: npx lerna run build | |
- name: Generate docs | |
run: npx typedoc | |
- name: Deploy to GH Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build/typedoc | |
cname: sdk.tzkt.io |