@@ -13,12 +13,14 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - uses : actions/checkout@v3
16+ - uses : pnpm/action-setup@v2
1617 - name : Use Node.js
1718 uses : actions/setup-node@v3
1819 with :
1920 node-version : ' 20.x'
21+ cache : ' pnpm'
2022 - name : Install dependencies (server)
21- run : npm ci
23+ run : pnpm install
2224 - name : Install biome linux-x64 (server)
2325 run : npm install --save-dev @biomejs/cli-linux-x64 || true
2426 - name : Lint (server)
@@ -31,12 +33,14 @@ jobs:
3133 runs-on : ubuntu-latest
3234 steps :
3335 - uses : actions/checkout@v3
36+ - uses : pnpm/action-setup@v2
3437 - name : Use Node.js
3538 uses : actions/setup-node@v3
3639 with :
3740 node-version : ' 20.x'
41+ cache : ' pnpm'
3842 - name : Install dependencies (server)
39- run : npm ci
43+ run : pnpm install
4044 - name : Run database tests (server)
4145 run : npm run test:ci:firestore
4246
@@ -56,12 +60,14 @@ jobs:
5660 --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
5761 steps :
5862 - uses : actions/checkout@v3
63+ - uses : pnpm/action-setup@v2
5964 - name : Use Node.js
6065 uses : actions/setup-node@v3
6166 with :
6267 node-version : ' 20.x'
68+ cache : ' pnpm'
6369 - name : Install dependencies (server)
64- run : npm ci
70+ run : pnpm install
6571 - name : Run database tests (server)
6672 run : npm run test:ci:postgres
6773
@@ -77,12 +83,14 @@ jobs:
7783 --health-cmd "mongosh --eval 'db.runCommand({serverStatus:1})' --quiet" --health-interval 10s --health-timeout 5s --health-retries 5
7884 steps :
7985 - uses : actions/checkout@v3
86+ - uses : pnpm/action-setup@v2
8087 - name : Use Node.js
8188 uses : actions/setup-node@v3
8289 with :
8390 node-version : ' 20.x'
91+ cache : ' pnpm'
8492 - name : Install dependencies (server)
85- run : npm ci
93+ run : pnpm install
8694 - name : Run database tests (server)
8795 run : npm run test:ci:mongo
8896
@@ -91,14 +99,14 @@ jobs:
9199
92100 steps :
93101 - uses : actions/checkout@v3
94-
102+ - uses : pnpm/action-setup@v2
95103 - name : Use Node.js
96104 uses : actions/setup-node@v3
97105 with :
98106 node-version : ' 20.x'
99-
107+ cache : ' pnpm '
100108 - name : Install root dependencies
101- run : npm ci
109+ run : pnpm install
102110
103111 - name : Install dependencies (frontend)
104112 working-directory : ./frontend
0 commit comments