Skip to content

Commit 00982cf

Browse files
committed
fix(skills): 修改actions
1 parent 7d94f76 commit 00982cf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/sync-tinyvue-docs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16+
- name: Setup pnpm
17+
uses: pnpm/action-setup@v2
18+
with:
19+
version: '10'
1620
# 1、检出当前仓库
1721
- name: Chheckout current repo
1822
uses: actions/checkout@v4
@@ -43,6 +47,10 @@ jobs:
4347
cp -r tinyvue-repo/examples/sites/demos/pc/app/. current-repo/skills/tiny-vue-skill/demos
4448
# 复制apis
4549
cp -r tinyvue-repo/examples/sites/demos/pc/webdoc/. current-repo/skills/tiny-vue-skill/webdoc
50+
# 执行后处理脚本
51+
cd current-repo/scripts
52+
pnpm i
53+
pnpm tiny-vue-skill-post-process
4654
# 4、提交代码
4755
- name: Commit
4856
run: |

0 commit comments

Comments
 (0)