Skip to content

Commit

Permalink
dep: upgrade pnpm / turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
fz6m committed Dec 23, 2023
1 parent 130fab8 commit 2b5703a
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 27 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,22 @@ jobs:
if: ${{ matrix.node-version != '14.x' }}
uses: pnpm/[email protected]

- name: Get pnpm version (node 14)
if: ${{ matrix.node-version == '14.x' }}
uses: actions/github-script@v7
id: pnpm-version
with:
result-encoding: string
script: |
const packageJson = require('./package.json')
const pnpmVersion = packageJson.packageManager.split('@')[1]
console.log(`Use pnpm ${pnpmVersion}`)
return pnpmVersion
- name: Install pnpm (node 14)
if: ${{ matrix.node-version == '14.x' }}
run: npm install -g @pnpm/[email protected]
run: |
npm install -g @pnpm/exe@${{ steps.pnpm-version.outputs.result }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,17 @@
"ts-node": "^10.7.0",
"tsx": "^3.12.2",
"tunnel": "^0.0.6",
"turbo": "^1.9.3",
"turbo": "^1.11.2",
"typescript": "^4.9.4",
"uglify-js": "^3.17.4",
"umi": "workspace:*",
"umi-scripts": "workspace:*",
"zx": "^7.1.1"
},
"packageManager": "pnpm@8.6.2",
"packageManager": "pnpm@8.12.1",
"engines": {
"node": ">=14",
"pnpm": "^8.6.2"
"pnpm": "^8.12.1"
},
"//why-overrides-browserslist": "See scripts/bundleDeps.ts",
"pnpm": {
Expand Down
45 changes: 22 additions & 23 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2b5703a

Please sign in to comment.