Skip to content

Commit 6ee0e67

Browse files
committed
CI: use pnpm
1 parent 554eefe commit 6ee0e67

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
node: ['18.x', '20.x']
10+
node: ['22.x', '24.x']
1111
os: [ubuntu-latest, macOS-latest]
1212

1313
steps:
@@ -18,15 +18,19 @@ jobs:
1818
uses: actions/setup-node@v4
1919
with:
2020
node-version: ${{ matrix.node }}
21-
22-
- name: Install deps and build (with cache)
23-
uses: bahmutov/npm-install@v1
21+
22+
- uses: pnpm/action-setup@v4
23+
name: Install pnpm
24+
with:
25+
version: 10
26+
- name: Install dependencies
27+
run: pnpm install
2428

2529
- name: Lint
26-
run: yarn lint
30+
run: pnpm lint
2731

2832
- name: Test
29-
run: yarn test
33+
run: pnpm test
3034

3135
- name: Build
32-
run: yarn build
36+
run: pnpm build

0 commit comments

Comments
 (0)