Require Node 16 for Etherpad and target Node 20 for testing (#5771)

This commit is contained in:
John McLear 2023-06-26 18:11:32 +01:00 committed by GitHub
parent d3afc1b9fb
commit 1d289520eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 18 additions and 18 deletions

View file

@ -34,7 +34,7 @@ jobs:
-
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 20
cache: 'npm'
cache-dependency-path: |
src/package-lock.json
@ -98,7 +98,7 @@ jobs:
-
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 20
cache: 'npm'
cache-dependency-path: |
src/package-lock.json
@ -126,7 +126,7 @@ jobs:
# Etherpad core dependencies must be installed after installing the
# plugin's dependencies, otherwise npm will try to hoist common
# dependencies by removing them from src/node_modules and installing them
# in the top-level node_modules. As of v6.14.10, npm's hoist logic appears
# in the top-level node_modules. As of v6.20.10, npm's hoist logic appears
# to be buggy, because it sometimes removes dependencies from
# src/node_modules but fails to add them to the top-level node_modules.
# Even if npm correctly hoists the dependencies, the hoisting seems to