Skip to content

chore: version packages #424

chore: version packages

chore: version packages #424

Workflow file for this run

name: Document Publish
on:
pull_request:
types:
- closed
branches:
- main
jobs:
document-publish:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions[bot]'
steps:
- name: Checkout 🔔
uses: actions/checkout@v4
- name: Node Setup 🔔
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: install 🔨
run: yarn install --immutable
- name: packages build 🔨
run: lerna run build
- name: document build 🔨
run: yarn build:docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.PUBLISH_TOKEN }}
folder: ./docs/build