Skip to content

Commit

Permalink
build: upgrade to node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Apr 20, 2022
1 parent 709776f commit 5d0f5dc
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 49 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -27,12 +27,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [12, 14, 16, 17]
node_version: [12, 14, 16, 17, 18]
include:
- os: macos-latest
node_version: 16
- os: macos-latest
node_version: 18
- os: windows-latest
node_version: 16
- os: windows-latest
node_version: 18
fail-fast: false

name: "Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -2,7 +2,7 @@
"name": "vite-monorepo",
"private": true,
"engines": {
"node": ">=12.2.0"
"node": ">=14.16.0"
},
"homepage": "https://vitejs.dev/",
"keywords": [
Expand Down Expand Up @@ -37,7 +37,7 @@
"@microsoft/api-extractor": "^7.22.2",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/node": "^16.11.27",
"@types/node": "^17.0.25",
"@types/prompts": "^2.0.14",
"@types/semver": "^7.3.9",
"@typescript-eslint/eslint-plugin": "^5.20.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/package.json
Expand Up @@ -71,7 +71,7 @@
"@types/less": "^3.0.3",
"@types/micromatch": "^4.0.2",
"@types/mime": "^2.0.3",
"@types/node": "^16.11.27",
"@types/node": "^17.0.25",
"@types/resolve": "^1.20.1",
"@types/sass": "~1.43.1",
"@types/stylus": "^0.48.37",
Expand Down

0 comments on commit 5d0f5dc

Please sign in to comment.