Skip to content

Commit 5ec3254

Browse files
committed
migrate to pnpm, upgrade deps
1 parent 7238d73 commit 5ec3254

File tree

4 files changed

+5094
-12482
lines changed

4 files changed

+5094
-12482
lines changed

.github/workflows/node.js.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,23 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21+
- name: Setup pnpm
22+
uses: pnpm/action-setup@v4
23+
with:
24+
version: latest
25+
2126
- name: Use Node.js ${{ matrix.node-version }}
2227
uses: actions/setup-node@v4
2328
with:
2429
node-version: ${{ matrix.node-version }}
25-
cache: 'npm'
30+
cache: 'pnpm'
2631

27-
- run: npm ci
28-
- run: npm run test-ci
32+
- run: pnpm install --frozen-lockfile
33+
- run: pnpm run test-ci
2934

3035
- name: Generate coverage report
3136
if: matrix.node-version == 24
32-
run: npm run coverage
37+
run: pnpm run coverage
3338

3439
- name: Upload coverage to Codecov
3540
if: matrix.node-version == 24

0 commit comments

Comments
 (0)