Skip to content

Commit 3ec9605

Browse files
committed
workflow updated
1 parent c621ad7 commit 3ec9605

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,13 @@ jobs:
2222
uses: actions/setup-node@v4
2323
with:
2424
node-version: 18
25-
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
25+
cache: 'npm'
3426

3527
- name: Install Dependencies
36-
run: pnpm install --frozen-lockfile
28+
run: npm install --legacy-peer-deps
3729

3830
- name: Run Linting
39-
run: pnpm run lint
40-
41-
- name: Type Check
42-
run: pnpm exec tsc --noEmit
31+
run: npm run lint
4332

4433
- name: Build Next.js App
45-
run: pnpm run build
34+
run: npm run build

0 commit comments

Comments
 (0)