Skip to content

Commit

Permalink
Update Node version
Browse files Browse the repository at this point in the history
- For food-delivery: Bump the required Node version to Node 22 (the
  current LTS), since Node 14 is deprecated.

- Update CI to use Node 22 and drop Node 16 (no longer supported).
  • Loading branch information
josh-berry committed Nov 27, 2024
1 parent 08df93c commit d8aec6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
node: [ 16, 18, 20 ]
node: [ 18, 20, 22 ]
project:
[
activities-examples,
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
# Comment out cache line when testing with act:
# (Test command is: act --platform ubuntu-latest=lucasalt/act_base:latest)
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion food-delivery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"vercel": "^29.0.3"
},
"engines": {
"node": ">=14.0.0"
"node": ">=22.0.0"
},
"packageManager": "[email protected]"
}

0 comments on commit d8aec6a

Please sign in to comment.