Skip to content

Commit

Permalink
Upgrade Node v20 (#607)
Browse files Browse the repository at this point in the history
* Update node version in GitHub actions

* Set Node v20 locally

* Update Node version in Docker image
  • Loading branch information
gcatanese authored Sep 15, 2024
1 parent 62f7a3e commit 5a2aeed
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-3ds2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
working-directory: '3ds2-example'
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-authorisation-adjustment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
working-directory: 'authorisation-adjustment-example'
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-checkout-advanced.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
working-directory: 'checkout-example-advanced'
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
working-directory: 'checkout-example'
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-giftcard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
working-directory: 'giftcard-example'
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-giving.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
working-directory: 'giving-example'
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-in-person-payments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
working-directory: 'in-person-payments-example'
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-paybylink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
working-directory: 'paybylink-example'
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-subscription.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
working-directory: 'subscription-example'
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.10.0
2 changes: 1 addition & 1 deletion 3ds2-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ For additional information, refer to our [documentation on testing 3DS2](https:/

## Prerequisites

- Node.js 18+
- Node.js 20+

This demo leverages Adyen's API Library for Node.js ([GitHub](https://github.com/Adyen/adyen-node-api-library) | [Docs](https://docs.adyen.com/development-resources/libraries#javascript)).

Expand Down
2 changes: 1 addition & 1 deletion authorisation-adjustment-example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:20-alpine

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion authorisation-adjustment-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This demo leverages Adyen's API Library for Node.js ([GitHub](https://github.com
## Requirements

- [Adyen API Credentials](https://docs.adyen.com/development-resources/api-credentials/)
- Node.js 18+
- Node.js 20+

## Installation

Expand Down
2 changes: 1 addition & 1 deletion checkout-example-advanced/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:20-alpine

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion checkout-example-advanced/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ For a simpler flow using `/sessions`, check out the demo in the [`checkout-examp
## Requirements

- [Adyen API Credentials](https://docs.adyen.com/development-resources/api-credentials/)
- Node.js 18+
- Node.js 20+

## 1. Installation

Expand Down
2 changes: 1 addition & 1 deletion checkout-example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:20-alpine

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion checkout-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ For a three-steps [advanced use case](https://docs.adyen.com/online-payments/bui
## Requirements

- [Adyen API Credentials](https://docs.adyen.com/development-resources/api-credentials/)
- Node.js 18+
- Node.js 20+

## 1. Installation

Expand Down
2 changes: 1 addition & 1 deletion giftcard-example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:20-alpine

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion giftcard-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ This demo provides a simple webhook integration at `/api/webhooks/notifications`

## Run integration on localhost using a proxy
You will need Node.js 18+ to run this application locally.
You will need Node.js 20+ to run this application locally.

1. Clone this repository

Expand Down
2 changes: 1 addition & 1 deletion giving-example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:20-alpine

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion giving-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This demo leverages Adyen's API Library for Node.js ([GitHub](https://github.com

## Requirements

Node.js 18+
Node.js 20+

## Installation

Expand Down
2 changes: 1 addition & 1 deletion in-person-payments-example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:20-alpine

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion in-person-payments-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This demo integrates the Adyen's API Library for Node.js ([GitHub](https://githu
## Prerequisites
- A [terminal device](https://docs.adyen.com/point-of-sale/user-manuals/) and a [test card](https://docs.adyen.com/point-of-sale/testing-pos-payments/) from Adyen
- [Adyen API Credentials](https://docs.adyen.com/development-resources/api-credentials/)
- Node.js 18+
- Node.js 20+

## 1. Installation

Expand Down
2 changes: 1 addition & 1 deletion paybylink-example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:20-alpine

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion paybylink-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This demo leverages Adyen's API Library for Node.js ([GitHub](https://github.com
## Requirements

- [Adyen API Credentials](https://docs.adyen.com/development-resources/api-credentials/)
- Node.js 18+
- Node.js 20+

## 1. Installation

Expand Down
2 changes: 1 addition & 1 deletion subscription-example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:20-alpine

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion subscription-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ This demo provides a simple webhook integration at `/api/webhooks/notifications`

## Run integration on localhost using a proxy
You will need Node.js 18+ to run this application locally.
You will need Node.js 20+ to run this application locally.

1. Clone this repository.

Expand Down

0 comments on commit 5a2aeed

Please sign in to comment.