Skip to content

Commit 9cd6e68

Browse files
chore(ci): switch CI workflow from pnpm to npm
1 parent 3fb59fb commit 9cd6e68

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: CI
2+
23
on:
34
push:
45
branches: [main]
@@ -10,20 +11,23 @@ jobs:
1011
runs-on: ubuntu-latest
1112
steps:
1213
- uses: actions/checkout@v4
14+
1315
- uses: actions/setup-node@v4
1416
with:
1517
node-version: '18'
16-
cache: 'pnpm'
17-
- uses: pnpm/action-setup@v2
18-
with:
19-
version: 8
18+
cache: 'npm'
19+
2020
- name: Install dependencies
21-
run: pnpm install --frozen-lockfile
21+
run: npm ci
22+
2223
- name: Run linting
23-
run: pnpm run lint
24+
run: npm run lint
25+
2426
- name: Run type checking
25-
run: pnpm run type-check
27+
run: npm run type-check
28+
2629
- name: Run tests
27-
run: pnpm test
30+
run: npm test
31+
2832
- name: Run build
29-
run: pnpm run build
33+
run: npm run build

0 commit comments

Comments
 (0)