feat(utils): 完善可视化工具类型定义,新增受限域、锚点及相关节点类型 #84
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to GitHub Pages | |
| permissions: | |
| contents: write | |
| on: | |
| workflow_dispatch: # 允许手动触发 | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| run_install: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 # Node.js 版本 | |
| cache: pnpm # 缓存 pnpm | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build Library | |
| run: pnpm run build | |
| - name: Build Project | |
| run: pnpm run example1:build:h5 | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./examples/vue3+vite+ts/dist/build/h5 # 构建输出目录 |