We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cd6e68 commit c62eb72Copy full SHA for c62eb72
.github/workflows/ci.yml
@@ -1,5 +1,4 @@
1
name: CI
2
-
3
on:
4
push:
5
branches: [main]
@@ -11,23 +10,19 @@ jobs:
11
10
runs-on: ubuntu-latest
12
steps:
13
- uses: actions/checkout@v4
14
15
- uses: actions/setup-node@v4
16
with:
17
node-version: '18'
18
- cache: 'npm'
19
+ cache: 'pnpm'
+ check-latest: true
+ package-manager: 'pnpm'
20
- name: Install dependencies
21
- run: npm ci
22
+ run: pnpm install --frozen-lockfile
23
- name: Run linting
24
- run: npm run lint
25
+ run: pnpm run lint
26
- name: Run type checking
27
- run: npm run type-check
28
+ run: pnpm run type-check
29
- name: Run tests
30
- run: npm test
31
+ run: pnpm test
32
- name: Run build
33
- run: npm run build
+ run: pnpm run build
0 commit comments