feat 支持在 Web Worker 内使用导出方法,修改示例、utils 目录 #22
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: auto gh-pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-depoly: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '14.21.3' | |
- name: Build Root Project | |
run: | | |
npm install | |
npm run build | |
- name: Build Project example-vite2 | |
run: | | |
cd example-vite2 | |
npm install | |
npm run build | |
- name: move gh-pages files | |
run: | | |
ls -a | |
npm run gh-pages | |
- name: deploy gh-pages files | |
uses: JamesIves/[email protected] | |
with: | |
folder: docs | |
branch: gh-pages |