File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 99
1010env :
1111 NODE_VERSION : ' 20.x'
12- PNPM_VERSION : ' 10 .x'
12+ PNPM_VERSION : ' 8 .x' # Using a more stable version of pnpm
1313
1414jobs :
1515 test-and-build :
@@ -19,20 +19,23 @@ jobs:
1919 steps :
2020 - name : Checkout code
2121 uses : actions/checkout@v4
22-
22+
23+ - name : Setup pnpm
24+ uses : pnpm/action-setup@v2
25+ id : pnpm-install
26+ with :
27+ version : ${{ env.PNPM_VERSION }}
28+ run_install : false
29+
2330 - name : Setup Node.js
2431 uses : actions/setup-node@v4
2532 with :
2633 node-version : ${{ env.NODE_VERSION }}
2734 cache : ' pnpm'
2835
29- - name : Setup pnpm
30- uses : pnpm/action-setup@v2
31- with :
32- version : ${{ env.PNPM_VERSION }}
33-
3436 - name : Install dependencies
35- run : pnpm install
37+ run : pnpm install --no-frozen-lockfile
38+
3639 - name : Build
3740 run : pnpm run build
3841
You can’t perform that action at this time.
0 commit comments