Commit 93dc59a
authored
fix release npm compatibility (#2190)
## Why
The [v0.2.5 release
run](https://github.com/voidzero-dev/vite-plus/actions/runs/29493170643)
failed before publishing because `npm@latest` resolved to npm 12.0.1.
npm 12.0.1 requires Node 22.22.2 or newer, while the workflow used Node
22.18.0.
## Changes
- run the publishing job on Node 24.18.0, which bundles npm 11.16.0
- remove the separate global npm installation
- add `workflow_dispatch` so the corrected v0.2.5 release can be started
manually1 parent b9acb2f commit 93dc59a
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | | - | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | 156 | | |
159 | 157 | | |
160 | 158 | | |
| |||
0 commit comments