Skip to content

Commit c62eb72

Browse files
chore(ci): update CI workflow to use pnpm for package management
1 parent 9cd6e68 commit c62eb72

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: CI
2-
32
on:
43
push:
54
branches: [main]
@@ -11,23 +10,19 @@ jobs:
1110
runs-on: ubuntu-latest
1211
steps:
1312
- uses: actions/checkout@v4
14-
1513
- uses: actions/setup-node@v4
1614
with:
1715
node-version: '18'
18-
cache: 'npm'
19-
16+
cache: 'pnpm'
17+
check-latest: true
18+
package-manager: 'pnpm'
2019
- name: Install dependencies
21-
run: npm ci
22-
20+
run: pnpm install --frozen-lockfile
2321
- name: Run linting
24-
run: npm run lint
25-
22+
run: pnpm run lint
2623
- name: Run type checking
27-
run: npm run type-check
28-
24+
run: pnpm run type-check
2925
- name: Run tests
30-
run: npm test
31-
26+
run: pnpm test
3227
- name: Run build
33-
run: npm run build
28+
run: pnpm run build

0 commit comments

Comments
 (0)