Skip to content

Commit 88417c6

Browse files
committed
ci: revert part of last commit
swap back to setup pnpm first then node with a cache then a manual install command
1 parent 1491bc1 commit 88417c6

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/lint.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,20 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19+
# must come before setup-node
20+
- name: Setup PNPM
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: latest
24+
1925
- name: Use Node.js
2026
uses: actions/setup-node@v4
2127
with:
2228
node-version: ${{ matrix.node-version }}
2329
cache: 'pnpm'
2430

25-
- name: Setup PNPM
26-
uses: pnpm/action-setup@v4
27-
with:
28-
run_install: true
29-
version: latest
31+
- name: Install dependencies
32+
run: pnpm install --frozen-lockfile
3033

3134
- name: Run ESLint
3235
run: npx eslint .

0 commit comments

Comments
 (0)