Skip to content

chore: 体积和部分性能优化,逻辑抽离 #35

chore: 体积和部分性能优化,逻辑抽离

chore: 体积和部分性能优化,逻辑抽离 #35

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install and Build
run: |
npm install -g pnpm
pnpm install
pnpm build --filter=demo
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ${{ github.workspace }}/apps/demo/dist