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 3ec9605 commit 78f1da8Copy full SHA for 78f1da8
.github/workflows/build.yml
@@ -22,13 +22,24 @@ jobs:
22
uses: actions/setup-node@v4
23
with:
24
node-version: 18
25
- cache: 'npm'
+ cache: 'pnpm'
26
+
27
+ - name: Enable corepack and install pnpm
28
+ run: |
29
+ corepack enable
30
+ corepack prepare pnpm@latest --activate
31
32
+ - name: Verify pnpm installation
33
+ run: pnpm --version
34
35
- name: Install Dependencies
- run: npm install --legacy-peer-deps
36
+ run: pnpm install --frozen-lockfile
37
38
- name: Run Linting
- run: npm run lint
39
+ run: pnpm run lint
40
41
+ - name: Type Check
42
+ run: pnpm exec tsc --noEmit
43
44
- name: Build Next.js App
- run: npm run build
45
+ run: pnpm run build
0 commit comments