Skip to content

Commit 75ca685

Browse files
sjrdNavidJalali
andcommitted
Officially support Vite versions 4-7.
Co-authored-by: NavidJalali <[email protected]>
1 parent 48015fa commit 75ca685

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
1313
os: [ubuntu-latest, windows-latest]
1414
node-version: ['18']
1515
java: ['8']
16+
vite-version: ['4', '5', '6']
17+
include:
18+
- os: ubuntu-latest
19+
node-version: '20'
20+
java: '8'
21+
vite-version: '7'
1622

1723
runs-on: ${{ matrix.os }}
1824

@@ -35,8 +41,8 @@ jobs:
3541
**/node_modules
3642
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
3743

38-
- name: Install dependencies
39-
run: npm install
44+
- name: Install dependencies with Vite ${{ matrix.vite-version }}
45+
run: npm install -D @types/node@${{ matrix.node-version }} && npm install vite@${{ matrix.vite-version }}
4046
- name: Run sbt once in the test project to make sure sbt is downloaded
4147
run: sbt projects
4248
working-directory: ./test/testproject

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"vitest": "^1.3.0"
4040
},
4141
"dependencies": {
42-
"vite": "^4.1.4"
42+
"vite": "4.1.4 - 7"
4343
},
4444
"type": "module",
4545
"files": [

0 commit comments

Comments
 (0)