Skip to content

🐛 fix: demo fix, add onNodeInit (#99) #89

🐛 fix: demo fix, add onNodeInit (#99)

🐛 fix: demo fix, add onNodeInit (#99) #89

Workflow file for this run

name: Deploy CI
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install and Build 🔧
run: |
pnpm i
pnpm run lint
pnpm run docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: docs-dist # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch