Skip to content

Merge pull request #75 from xmtp/changeset-release/main #23

Merge pull request #75 from xmtp/changeset-release/main

Merge pull request #75 from xmtp/changeset-release/main #23

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@v3
- uses: actions/setup-node@v3
with:
node-version: 18.14.0
cache: "yarn"
- name: Install Yarn v3
run: |
corepack enable
corepack prepare [email protected] --activate
- 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