File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 uses : actions/setup-node@v4
4343 with :
4444 node-version : ' 18'
45- cache : ' pnpm'
4645
4746 - name : Install Rust stable
4847 uses : dtolnay/rust-toolchain@stable
6160 uses : pnpm/action-setup@v3
6261 with :
6362 version : 8
63+ run_install : true
6464
65- - name : Install dependencies
66- run : pnpm install
65+ - name : Setup Node.js with PNPM cache
66+ uses : actions/setup-node@v4
67+ with :
68+ node-version : ' 18'
69+ cache : ' pnpm'
6770
6871 - name : Get version from package.json if not provided
6972 if : inputs.version == ''
Original file line number Diff line number Diff line change @@ -74,15 +74,20 @@ jobs:
7474 uses : actions/setup-node@v4
7575 with :
7676 node-version : ' 18'
77- cache : ' pnpm'
77+ # Remove cache since we need to set up pnpm first
7878
7979 - name : Install PNPM
8080 uses : pnpm/action-setup@v3
8181 with :
8282 version : 8
83-
84- - name : Install dependencies
85- run : pnpm install
83+ run_install : true
84+
85+ # Add caching after pnpm is available
86+ - name : Setup Node.js with PNPM cache
87+ uses : actions/setup-node@v4
88+ with :
89+ node-version : ' 18'
90+ cache : ' pnpm'
8691
8792 - name : Download all artifacts
8893 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments