Skip to content

Merge pull request #290 from xmtp/nplasterer-patch-1 #161

Merge pull request #290 from xmtp/nplasterer-patch-1

Merge pull request #290 from xmtp/nplasterer-patch-1 #161

Workflow file for this run

name: Docs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
cache: "yarn"
env:
SKIP_YARN_COREPACK_CHECK: "1"
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn
- name: Build typedocs
run: |
cd packages/react-sdk
yarn typedoc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./packages/react-sdk/docs