feat: breaking changes, API v2.2. (#1164) #421
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: Docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Node 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- name: Install packages | |
uses: ./.github/actions/yarn-monorepo-install | |
- name: Build packages # Required for typedocs to run properly during next step | |
run: yarn build | |
- name: Build docs | |
env: | |
NODE_OPTIONS: '--max_old_space_size=4096' | |
run: yarn build:docs | |
- name: Deploy Docs | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs-build |