Skip to content

Commit 3b5ac51

Browse files
committed
ci(workflows): migrate from npm to pnpm for dependency management
1 parent 532a311 commit 3b5ac51

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,19 @@ jobs:
9494
with:
9595
fetch-depth: 2
9696

97-
- name: Set up Node
97+
- name: Set node
9898
uses: actions/setup-node@v4
99+
with:
100+
node-version: lts/*
101+
102+
- name: Install pnpm
103+
uses: pnpm/action-setup@v3
99104

100-
- name: Install dependencies
101-
run: npm install
105+
- name: Setup
106+
run: npm i -g @antfu/ni
107+
108+
- name: Install
109+
run: nci
102110

103111
- name: Run tests
104112
run: npx vitest run --coverage

0 commit comments

Comments
 (0)