Skip to content

Commit

Permalink
Merge pull request #441 from matushorvath/node20
Browse files Browse the repository at this point in the history
Update to node.js 20.x
  • Loading branch information
matushorvath authored Nov 15, 2023
2 parents 0ea707c + dcc5082 commit 2e640e9
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
env:
node: true
commonjs: true
es2022: true
es2024: true
extends:
- eslint:recommended
- plugin:jest/recommended
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'

- name: Install packages
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'

- name: Install packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'npm'

- name: Install packages
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 @@ -20,7 +20,7 @@
"author": "Matus Horvath <matus.horvath@gmail.com>",
"license": "UNLICENSED",
"engines": {
"node": "^18"
"node": "^20"
},
"files": [
"images/aoc*.png",
Expand Down
4 changes: 2 additions & 2 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Resources:
Bucket: !Ref Bucket
Key: !Ref Package
Handler: src/leaderboards.handler
Runtime: nodejs18.x
Runtime: nodejs20.x
Architectures:
- arm64
Timeout: 300
Expand Down Expand Up @@ -57,7 +57,7 @@ Resources:
Bucket: !Ref Bucket
Key: !Ref Package
Handler: src/api.handler
Runtime: nodejs18.x
Runtime: nodejs20.x
Architectures:
- arm64
Timeout: 300
Expand Down

0 comments on commit 2e640e9

Please sign in to comment.