feat: add support for node v20 (#2303)

* run tests on node v20

* update linter to node v16

* update docs

* update browser node version

* update checkout
This commit is contained in:
Mayukha Vadari
2023-05-16 15:02:33 -04:00
committed by GitHub
parent ac8c1b3f64
commit 4cca7c9088
4 changed files with 7 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL

View File

@@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
steps:
- uses: actions/checkout@v3
@@ -57,7 +57,7 @@ jobs:
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
@@ -98,7 +98,7 @@ jobs:
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
@@ -150,7 +150,7 @@ jobs:
strategy:
matrix:
node-version: [14.x] # This just needs to be compatible w/ puppeteer
node-version: [16.x]
steps:
- uses: actions/checkout@v3

View File

@@ -12,7 +12,7 @@
### Requirements
We use Node v14 for development - that is the version that our linters require.
We use Node v16 for development - that is the version that our linters require.
You must also use `npm` v7. You can check your `npm` version with:
```bash

View File

@@ -25,7 +25,7 @@ All of which works in Node.js (tested for v14+) & web browsers (tested for Chrom
### Requirements
+ **[Node.js v14](https://nodejs.org/)** is recommended. We also support v16 and v18. Other versions may work but are not frequently tested.
+ **[Node.js v16](https://nodejs.org/)** is recommended. We also support v14, v18 and v20. Other versions may work but are not frequently tested.
### Installing xrpl.js