File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ jobs:
200200 pnpm bootstrap-cli:ci
201201 if [[ "$RUNNER_OS" == "Windows" ]]; then
202202 echo "$USERPROFILE/.vite-plus-dev/bin" >> $GITHUB_PATH
203+ ls -al $USERPROFILE/.vite-plus-dev/bin
203204 else
204205 echo "$HOME/.vite-plus-dev/bin" >> $GITHUB_PATH
205206 fi
Original file line number Diff line number Diff line change @@ -223,3 +223,45 @@ jobs:
223223 $env:Path = "$env:USERPROFILE\.vite-plus\bin;$env:Path"
224224 vp env doctor
225225 vp env run --node 24 -- node -p "process.versions"
226+
227+ - name : Verify installation on bash
228+ shell : bash
229+ working-directory : ${{ runner.temp }}
230+ run : |
231+ echo "PATH: $PATH"
232+ ls -al ~/
233+
234+ vp --version
235+ vp --help
236+ # test new command
237+ vp new create-vite --no-interactive --no-agent -- hello-bash --no-interactive -t vanilla
238+ cd hello-bash && vp run build
239+
240+ - name : Verify bin setup on bash
241+ shell : bash
242+ run : |
243+ # Verify bin directory was created by vp env --setup
244+ BIN_PATH="$HOME/.vite-plus/bin"
245+ ls -al "$BIN_PATH"
246+ if [ ! -d "$BIN_PATH" ]; then
247+ echo "Error: Bin directory not found: $BIN_PATH"
248+ exit 1
249+ fi
250+
251+ # Verify shim executables exist (Windows uses .cmd wrappers)
252+ for shim in node.cmd npm.cmd npx.cmd; do
253+ if [ ! -f "$BIN_PATH/$shim" ]; then
254+ echo "Error: Shim not found: $BIN_PATH/$shim"
255+ exit 1
256+ fi
257+ echo "Found shim: $BIN_PATH/$shim"
258+ done
259+
260+ # Verify vp env doctor works
261+ vp env doctor
262+ vp env run --node 24 -- node -p "process.versions"
263+
264+ which node
265+ which npm
266+ which npx
267+ which vp
You can’t perform that action at this time.
0 commit comments