Skip to content

Commit f39ed09

Browse files
authored
Node.js v20 upgrade (#282)
* Upgrade to Node.js v20 * Upgrade Adyen web and React router * Skip workflows for minor edits * Correct workflow file
1 parent c3fd087 commit f39ed09

File tree

7 files changed

+75
-47
lines changed

7 files changed

+75
-47
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,21 @@ name: Node.js CI
55

66
on:
77
push:
8-
pull_request:
98
branches: [ main ]
9+
paths-ignore:
10+
- '**/README.md'
11+
- README.md
12+
- .gitignore
13+
- .gitpod.yml
14+
- LICENSE
15+
pull_request_target:
16+
branches: [ main ]
17+
paths-ignore:
18+
- '**/README.md'
19+
- README.md
20+
- .gitignore
21+
- .gitpod.yml
22+
- LICENSE
1023

1124
jobs:
1225
build:
@@ -15,7 +28,7 @@ jobs:
1528

1629
strategy:
1730
matrix:
18-
node-version: [16.x]
31+
node-version: [20.x]
1932
steps:
2033
- uses: actions/checkout@v2
2134
- name: Use Node.js ${{ matrix.node-version }}

.github/workflows/e2e.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,20 @@ on:
44
workflow_dispatch:
55
push:
66
branches: [ main ]
7-
pull_request:
7+
paths-ignore:
8+
- '**/README.md'
9+
- README.md
10+
- .gitignore
11+
- .gitpod.yml
12+
- LICENSE
13+
pull_request_target:
814
branches: [ main ]
15+
paths-ignore:
16+
- '**/README.md'
17+
- README.md
18+
- .gitignore
19+
- .gitpod.yml
20+
- LICENSE
921

1022
jobs:
1123
checkout:

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 16.14.0
1+
nodejs 20.10.0

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16
1+
FROM node:20-alpine
22

33
COPY . .
44

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The demo leverages Adyen's API Library for Node.js ([GitHub](https://github.com/
2424

2525
## Requirements
2626

27-
Node.js 12+
27+
Node.js 20+
2828

2929
## Installation
3030

package-lock.json

Lines changed: 41 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@adyen/adyen-web": "^5.55.1",
6+
"@adyen/adyen-web": "5.60.0",
77
"@adyen/api-library": "^16.1.0",
88
"@reduxjs/toolkit": "^2.0.1",
99
"dotenv": "^16.0.3",
@@ -13,8 +13,8 @@
1313
"react": "^18.2.0",
1414
"react-dom": "^18.2.0",
1515
"react-redux": "^9.0.4",
16-
"react-router": "^6.21.0",
17-
"react-router-dom": "^6.21.0",
16+
"react-router": "^6.26.1",
17+
"react-router-dom": "^6.26.1",
1818
"uuidv4": "^6.2.13"
1919
},
2020
"scripts": {

0 commit comments

Comments
 (0)