Skip to content

Commit 9536d54

Browse files
committed
fix(ci): update lockfile paths and switch backend to pnpm
1 parent 3466f22 commit 9536d54

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
node-version: '20'
2323
cache: 'npm'
24-
cache-dependency-path: frontend/package-lock.json
24+
cache-dependency-path: package-lock.json
2525

2626
- name: Install dependencies
2727
run: npm ci
@@ -57,15 +57,20 @@ jobs:
5757
- name: Checkout code
5858
uses: actions/checkout@v4
5959

60+
- name: Setup pnpm
61+
uses: pnpm/action-setup@v4
62+
with:
63+
version: 9
64+
6065
- name: Setup Node.js
6166
uses: actions/setup-node@v4
6267
with:
6368
node-version: '20'
64-
cache: 'npm'
65-
cache-dependency-path: backend/package-lock.json
69+
cache: 'pnpm'
70+
cache-dependency-path: backend/pnpm-lock.yaml
6671

6772
- name: Install dependencies
68-
run: npm ci
73+
run: pnpm install --frozen-lockfile
6974
working-directory: backend
7075

7176
- name: Generate Prisma Client

0 commit comments

Comments
 (0)