File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 uses : actions/setup-node@v3
1515 with :
1616 node-version : 18
17- cache : " npm"
17+
18+ # Setup pnpm
19+ - name : Setup pnpm
20+ uses : pnpm/action-setup@v2
21+ with :
22+ version : 8
23+ run_install : false
24+
25+ # Get pnpm store directory
26+ - name : Get pnpm store directory
27+ shell : bash
28+ run : |
29+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
30+
31+ # Setup pnpm cache
32+ - uses : actions/cache@v3
33+ name : Setup pnpm cache
34+ with :
35+ path : ${{ env.STORE_PATH }}
36+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
37+ restore-keys : |
38+ ${{ runner.os }}-pnpm-store-
1839
1940 # Setup Go for backend tests
2041 - name : Setup Go
2445
2546 # Install dependencies
2647 - name : Install dependencies
27- run : npm ci && cd frontend && npm ci && cd ..
48+ run : pnpm install --frozen-lockfile
2849
2950 # Run tests with coverage
3051 - name : Run tests with coverage
You can’t perform that action at this time.
0 commit comments