feat(115-helper): 点击悬浮菜单不触发选中、按钮优化 (#22) #44
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: GitHub Actions Deploy | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
# 只在下列文件变更时触发 | |
paths: | |
- 'packages/**/CHANGELOG.md' | |
- 'legacy/**/*.user.ts' | |
# 设置权限 | |
permissions: write-all | |
jobs: | |
bot: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 8 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Run Script | |
run: pnpm install && pnpm build | |
- name: Copy files | |
run: cp README.md ./dist/ | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: dist |