File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,16 @@ jobs:
3636 uses : actions/setup-node@v4
3737 with :
3838 node-version : 20 # Recommended to use a recent LTS version
39- cache : ' pnpm' # Caches dependencies using pnpm lockfile
40-
41- # 3. FIX: Install pnpm globally
42- # This step ensures the 'pnpm' executable is available in the runner's PATH.
43- - name : Install pnpm globally
44- run : npm install -g pnpm
39+ # We no longer need to specify 'cache: pnpm' here,
40+ # as the dedicated pnpm action handles setup and caching.
41+
42+ # 3. FIX: Setup pnpm using the dedicated action
43+ # This guarantees pnpm is installed and available in the PATH.
44+ - name : Setup pnpm
45+ uses : pnpm/action-setup@v3
46+ with :
47+ version : 8 # Specify a stable version of pnpm (or leave it out for latest)
48+ run_install : false # We will run the installation separately (step 4)
4549
4650 # 4. Install dependencies
4751 - name : Install dependencies (pnpm)
You can’t perform that action at this time.
0 commit comments