🦄 refactor(utils): 将 pnpm 的工作区类型声明提供出来,实现跨项目复用。 #432
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: 过一遍turbo打包行为,测试项目健壮性 | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
tester: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 检出分支 | |
uses: actions/checkout@v4 | |
- name: 安装pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: | | |
- recursive: true | |
- args: [--global, "vercel", "@dotenvx/dotenvx", "tsx"] | |
- name: 安装node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.6.0 | |
cache: pnpm | |
- name: 检查版本 | |
run: | | |
node -v | |
pnpm -v | |
vc -v | |
- name: pnpm全局检查依赖包 | |
run: pnpm ls -g | |
- name: turbo并发打包全部子项目 | |
run: pnpm run on-github-action-flow |