chore: update Node.js setup steps in formatting workflow to use corepack for package management (#3914)

This commit is contained in:
Tunglies
2025-06-27 23:46:51 +08:00
committed by GitHub
parent a574ced428
commit 7c4222aed2

View File

@@ -26,11 +26,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm i -g --force corepack
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- run: pnpm i --frozen-lockfile
- run: corepack enable
- run: pnpm install --frozen-lockfile
- run: pnpm format:check
# taplo: