Skip to content

Commit e52ac4e

Browse files
committed
ci: update lint workflow to use pnpm action
Replace corepack setup with pnpm/action-setup for better reliability
1 parent a8c60b7 commit e52ac4e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/lint.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
1616

17+
- name: Install pnpm
18+
uses: pnpm/action-setup@v4
19+
with:
20+
version: 8.15.4 # Using the version from packageManager in package.json
21+
run_install: false
22+
1723
- name: Setup Node.js
1824
uses: actions/setup-node@v4
1925
with:
2026
node-version: '20.3.0'
2127
cache: 'pnpm'
2228

23-
- name: Enable Corepack
24-
run: corepack enable
25-
26-
- name: Setup pnpm
27-
run: corepack prepare pnpm@latest --activate
28-
2929
- name: Install dependencies
3030
run: pnpm install --frozen-lockfile
3131

0 commit comments

Comments
 (0)