Skip to content

Commit

Permalink
feat(deps): Support Vite 5 (#12)
Browse files Browse the repository at this point in the history
* chore(ci): Vite 5 testing

* feat(deps): Support vite 5
  • Loading branch information
larowlan committed Jan 23, 2024
1 parent 0cef9f9 commit 7ea49fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
strategy:
matrix:
node: [18, 20]
vite: [4, 5]
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
Expand All @@ -28,6 +29,9 @@ jobs:
with:
useLockFile: false

- name: ⚡️ Setup vite
run: npm install vite@${{ matrix.vite }}

- name: 🧹 Linting
run: npm run lint

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"twig": "^1.16.0"
},
"peerDependencies": {
"vite": "^4.4.11"
"vite": "^4.4.11 || ^5"
},
"devDependencies": {
"prettier": "^3.0.3",
"semantic-release": "^22.0.5",
"vite": "^4.4.11",
"vite": "^4.4.11 || ^ 5",
"vitest": "^0.34.6"
}
}

0 comments on commit 7ea49fa

Please sign in to comment.