@@ -13,17 +13,18 @@ jobs:
1313 fail-fast : false
1414 matrix :
1515 os : [ubuntu-latest, macos-latest, windows-latest]
16+ version : [latest, alpha]
1617 force-install : [false, true]
1718 runs-on : ${{ matrix.os }}
1819 env :
1920 SETUP_VP_FORCE_INSTALL : ${{ matrix.force-install }}
2021 steps :
2122 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
2223
23- - name : Setup Vite+
24+ - name : Setup Vite+ (${{ matrix.version }})
2425 uses : ./
2526 with :
26- version : latest
27+ version : ${{ matrix.version }}
2728 run-install : false
2829 cache : false
2930
@@ -35,16 +36,18 @@ jobs:
3536 fail-fast : false
3637 matrix :
3738 node-version : ["22", "24"]
39+ version : [latest, alpha]
3840 force-install : [false, true]
3941 runs-on : ubuntu-latest
4042 env :
4143 SETUP_VP_FORCE_INSTALL : ${{ matrix.force-install }}
4244 steps :
4345 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
4446
45- - name : Setup Vite+ with Node.js ${{ matrix.node-version }}
47+ - name : Setup Vite+ (${{ matrix.version }}) with Node.js ${{ matrix.node-version }}
4648 uses : ./
4749 with :
50+ version : ${{ matrix.version }}
4851 node-version : ${{ matrix.node-version }}
4952 run-install : false
5053 cache : false
6366 strategy :
6467 fail-fast : false
6568 matrix :
69+ version : [latest, alpha]
6670 force-install : [false, true]
6771 runs-on : ubuntu-latest
6872 env :
@@ -77,10 +81,11 @@ jobs:
7781 echo '{"name":"test-project","private":true}' > package.json
7882 touch pnpm-lock.yaml
7983
80- - name : Setup Vite+ with pnpm cache
84+ - name : Setup Vite+ (${{ matrix.version }}) with pnpm cache
8185 uses : ./
8286 id : setup
8387 with :
88+ version : ${{ matrix.version }}
8489 run-install : false
8590 cache : true
8691 cache-dependency-path : test-project/pnpm-lock.yaml
95100 strategy :
96101 fail-fast : false
97102 matrix :
103+ version : [latest, alpha]
98104 force-install : [false, true]
99105 runs-on : ubuntu-latest
100106 env :
@@ -109,10 +115,11 @@ jobs:
109115 echo '{"name":"test-project","private":true}' > package.json
110116 echo '{"name":"test-project","lockfileVersion":3}' > package-lock.json
111117
112- - name : Setup Vite+ with npm cache
118+ - name : Setup Vite+ (${{ matrix.version }}) with npm cache
113119 uses : ./
114120 id : setup
115121 with :
122+ version : ${{ matrix.version }}
116123 run-install : false
117124 cache : true
118125 cache-dependency-path : test-project/package-lock.json
@@ -127,6 +134,7 @@ jobs:
127134 strategy :
128135 fail-fast : false
129136 matrix :
137+ version : [latest, alpha]
130138 force-install : [false, true]
131139 runs-on : ubuntu-latest
132140 env :
@@ -141,10 +149,11 @@ jobs:
141149 echo '{"name":"test-project","private":true}' > package.json
142150 touch yarn.lock
143151
144- - name : Setup Vite+ with yarn cache
152+ - name : Setup Vite+ (${{ matrix.version }}) with yarn cache
145153 uses : ./
146154 id : setup
147155 with :
156+ version : ${{ matrix.version }}
148157 run-install : false
149158 cache : true
150159 cache-dependency-path : test-project/yarn.lock
@@ -160,17 +169,18 @@ jobs:
160169 fail-fast : false
161170 matrix :
162171 os : [ubuntu-latest, macos-latest, windows-latest]
172+ version : [latest, alpha]
163173 force-install : [false, true]
164174 runs-on : ${{ matrix.os }}
165175 env :
166176 SETUP_VP_FORCE_INSTALL : ${{ matrix.force-install }}
167177 steps :
168178 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
169179
170- - name : Setup Vite+
180+ - name : Setup Vite+ (${{ matrix.version }})
171181 uses : ./
172182 with :
173- version : latest
183+ version : ${{ matrix.version }}
174184 run-install : false
175185 cache : false
176186
@@ -182,6 +192,7 @@ jobs:
182192 fail-fast : false
183193 matrix :
184194 os : [ubuntu-latest, macos-latest, windows-latest]
195+ version : [latest, alpha]
185196 force-install : [false, true]
186197 runs-on : ${{ matrix.os }}
187198 env :
@@ -196,10 +207,10 @@ jobs:
196207 cd test-project
197208 echo '{"name":"test-project","private":true,"scripts":{"hello":"node -e \"console.log(1+1)\""}}' > package.json
198209
199- - name : Setup Vite+ with install
210+ - name : Setup Vite+ (${{ matrix.version }}) with install
200211 uses : ./
201212 with :
202- version : latest
213+ version : ${{ matrix.version }}
203214 run-install : |
204215 - cwd: test-project
205216 cache : false
@@ -216,16 +227,18 @@ jobs:
216227 strategy :
217228 fail-fast : false
218229 matrix :
230+ version : [latest, alpha]
219231 force-install : [false, true]
220232 runs-on : ubuntu-latest
221233 env :
222234 SETUP_VP_FORCE_INSTALL : ${{ matrix.force-install }}
223235 steps :
224236 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
225237
226- - name : Setup Vite+ with registry-url
238+ - name : Setup Vite+ (${{ matrix.version }}) with registry-url
227239 uses : ./
228240 with :
241+ version : ${{ matrix.version }}
229242 run-install : false
230243 cache : false
231244 registry-url : " https://npm.pkg.github.com"
0 commit comments