fix: 修复 嵌套时动态模式定位异常 严格模式下重复创建 #11
This file contains 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: Build | |
on: | |
push: | |
branches: [main] | |
permissions: | |
contents: write | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Build | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- run: npm install pnpm -g | |
- run: pnpm install | |
- run: pnpm docs:build | |
- name: deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs-dist |