Skip to content

Commit

Permalink
#
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteSevs committed May 9, 2024
1 parent 1bd1730 commit c2e8153
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 3 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/【移动端】MT论坛.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: 【移动端】MT论坛

on:
push:
branches: ["master", "dev"]
paths:
- "packages/【移动端】MT论坛/**"
- ".github/workflows/【移动端】MT论坛.yaml"
- "!packages/【移动端】MT论坛/README.md"
- "!packages/【移动端】MT论坛/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/【移动端】MT论坛
echo "当前目录:"$(pwd)
pnpm install
pnpm run build
- name: 上传附件
uses: actions/upload-artifact@main
with:
name: 【移动端】MT论坛
path: ./packages/【移动端】MT论坛/dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: 【移动端】百度系优化

on:
push:
branches: ["dev"]
branches: ["master", "dev"]
paths:
- "packages/【移动端】百度系优化/**"
- ".github/workflows/【移动端】百度系优化.yaml"
- "!packages/【移动端】百度系优化/README.md"
- "!packages/【移动端】百度系优化/dist/*"
- ".github/workflows/【移动端】百度系优化_build.yaml"

jobs:
build:
Expand Down Expand Up @@ -38,4 +38,4 @@ jobs:
uses: actions/upload-artifact@main
with:
name: 【移动端】百度系优化
path: ./packages/【移动端】百度系优化/dist/【移动端】百度系优化.user.js
path: ./packages/【移动端】百度系优化/dist
41 changes: 41 additions & 0 deletions .github/workflows/小红书优化.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: 小红书优化

on:
push:
branches: ["master", "dev"]
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
41 changes: 41 additions & 0 deletions .github/workflows/抖音优化.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: 抖音优化

on:
push:
branches: ["master", "dev"]
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

0 comments on commit c2e8153

Please sign in to comment.