Skip to content

fix: change target branch for typedocs (#294) #1

fix: change target branch for typedocs (#294)

fix: change target branch for typedocs (#294) #1

Workflow file for this run

name: Docs
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'yarn' # cache node modules
node-version: 18
- run: corepack enable
- run: yarn install --immutable
- run: yarn run sdk:lint # lint code
- run: yarn run sdk:build # compile typescript into javascript
- name: Build docs
run: npm run docs
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs