Skip to content

Commit

Permalink
Bump minimum required Node.js version to 18.x to match what SvelteKit…
Browse files Browse the repository at this point in the history
… 2 needs
  • Loading branch information
Jalle19 committed Feb 18, 2024
1 parent c453a6a commit 89a6d52
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: '18.x'
- name: Install dependencies
run: npm ci
- name: Check formatting
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: '18.x'
- name: Install dependencies
run: npm ci
- name: Run eslint
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: '18.x'
- name: Install dependencies
run: npm ci
- name: Run tests
Expand All @@ -59,7 +59,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: '18.x'
- name: Install dependencies
run: npm ci
- name: Check formatting
Expand All @@ -75,7 +75,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: '18.x'
- name: Install dependencies
run: npm ci
- name: Run eslint
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test": "jest"
},
"engines": {
"node": ">= 16"
"node": ">= 18"
},
"devDependencies": {
"@tsconfig/node16": "^16.1.1",
Expand Down
3 changes: 3 additions & 0 deletions webif/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions webif/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"prettier": "prettier --write src/",
"prettier-check": "prettier --check src/"
},
"engines": {
"node": ">= 18"
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.0",
Expand Down

0 comments on commit 89a6d52

Please sign in to comment.