Commit 3c260a1
authored
fix: use staging install scripts to fix Windows runner failures (#11)
## Summary
- Temporarily switch install URLs from `viteplus.dev` to
`staging.viteplus.dev` to fix the `Cannot find module 'which'` error on
Windows runners (#10)
- Add `test-vp-exec` and `test-vp-install-and-exec` jobs that run `vp
exec` and `vp run` across all platforms (ubuntu, macos, windows) to
prevent regressions
## Context
Issue #10 reports that `vp exec` fails on Windows runners with:
```
Error: Cannot find module 'which'
```
The root cause is in the vite-plus install script served from
`viteplus.dev`. The staging version (`staging.viteplus.dev`) has the
fix. Once a new version of vite-plus is released with the fix, we'll
revert the domain back to `viteplus.dev`.
## Changes
- `src/install-viteplus.ts`: Switch install URLs to
`staging.viteplus.dev` (temporary)
- `.github/workflows/test.yml`: Add `test-vp-exec` and
`test-vp-install-and-exec` test jobs
## Test plan
- [x] `test-vp-exec` passes on all platforms (ubuntu, macos, windows)
- [x] `test-vp-install-and-exec` passes on all platforms
Closes #10
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent 6f7287d commit 3c260a1
3 files changed
Lines changed: 58 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
134 | 189 | | |
135 | 190 | | |
136 | 191 | | |
| |||
0 commit comments