🐞 fix(修复禁止点击视频区域进入全屏功能对图文视频的支持): #77
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: 抖音优化 | |
on: | |
push: | |
branches: ["master"] | |
paths: | |
- "packages/抖音优化/**" | |
- ".github/workflows/抖音优化.yaml" | |
- "!packages/抖音优化/README.md" | |
- "!packages/抖音优化/dist/*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: set git | |
run: | | |
git config --global core.symlinks false | |
- name: 校验 | |
uses: actions/checkout@v4 | |
- uses: volta-cli/action@v4 | |
- name: 设置Node和pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: 构建 | |
run: | | |
cd ./packages/抖音优化 | |
echo "当前目录:"$(pwd) | |
pnpm install | |
pnpm run build | |
- name: 上传附件 | |
uses: actions/upload-artifact@main | |
with: | |
name: 抖音优化 | |
path: ./packages/抖音优化/dist |