Skip to content

Commit 4f01c77

Browse files
fix(Runtime): Change Node version to 16 (LLC-2306) (#889)
BREAKING CHANGE: Upgrade Node version runtime from v14 to v16
1 parent 6ec45a1 commit 4f01c77

File tree

5 files changed

+789
-89
lines changed

5 files changed

+789
-89
lines changed

.github/workflows/integration.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: actions/setup-node@v3
2424
with:
25-
node-version: '14'
25+
node-version: '16'
2626
cache: 'yarn'
2727

2828
- name: Installing Dependencies
@@ -67,7 +67,7 @@ jobs:
6767

6868
- uses: actions/setup-node@v3
6969
with:
70-
node-version: '14'
70+
node-version: '16'
7171
cache: 'yarn'
7272

7373
- name: Installing Dependencies
@@ -127,7 +127,7 @@ jobs:
127127

128128
- uses: actions/setup-node@v3
129129
with:
130-
node-version: '14'
130+
node-version: '16'
131131
cache: 'yarn'
132132

133133
- name: Installing Dependencies
@@ -183,7 +183,7 @@ jobs:
183183

184184
- uses: actions/setup-node@v3
185185
with:
186-
node-version: '14'
186+
node-version: '16'
187187
cache: 'yarn'
188188

189189
- name: Installing Dependencies
@@ -238,7 +238,7 @@ jobs:
238238

239239
- uses: actions/setup-node@v3
240240
with:
241-
node-version: '14'
241+
node-version: '16'
242242
cache: 'yarn'
243243

244244
- name: Installing Dependencies
@@ -271,7 +271,7 @@ jobs:
271271

272272
- uses: actions/setup-node@v3
273273
with:
274-
node-version: '14'
274+
node-version: '16'
275275
cache: 'yarn'
276276

277277
- name: Installing Dependencies

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14
1+
FROM node:16
22
ENV NPM_CONFIG_LOGLEVEL warn
33
WORKDIR /usr/src/app
44

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@
3535
"postinstall": "patch-package"
3636
},
3737
"engines": {
38-
"node": ">6.0.0",
39-
"npm": ">3.0.0"
38+
"node": ">16.0.0",
39+
"npm": ">8.0.0"
4040
},
4141
"dependencies": {
4242
"@aws-sdk/client-s3": "^3.100.0",
4343
"@aws-sdk/lib-storage": "^3.100.0",
4444
"@azure/storage-blob": "^10.3.0",
4545
"@google-cloud/storage": "^5.8.1",
46-
"@learninglocker/xapi-validation": "^2.1.10",
46+
"@learninglocker/xapi-validation": "^4.0.0",
4747
"accept-language-parser": "^1.5.0",
4848
"atob": "^2.0.3",
4949
"bluebird": "3.7.2",
@@ -56,7 +56,7 @@
5656
"http-status-codes": "^2.0.0",
5757
"install": "^0.13.0",
5858
"ioredis": "^4.14.0",
59-
"jscommons": "^4.0.0",
59+
"jscommons": "^6.0.0",
6060
"jsonwebtoken": "^8.5.1",
6161
"lodash": "^4.17.4",
6262
"mime-types": "2.1.35",
@@ -88,7 +88,7 @@
8888
"@types/lodash": "4.14.176",
8989
"@types/mime-types": "2.1.1",
9090
"@types/mocha": "8.2.3",
91-
"@types/node": "^14.18.18",
91+
"@types/node": "16.18.13",
9292
"@types/node-fetch": "2.5.8",
9393
"@types/object-hash": "1.3.4",
9494
"@types/redis": "2.8.32",

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ git clone -b master https://github.com/adlnet/lrs-conformance-test-suite ../conf
1313
cd ../conformance
1414

1515
log "Installing dependencies for the ADL conformance test suite."
16-
npm ci
16+
yarn install --ignore-engines --frozen-lockfile
1717

1818
log "Running the ADL conformance test suite."
1919
node bin/console_runner.js -e "http://localhost:$EXPRESS_PORT/data/xAPI" -a -u "AAA" -p "BBB" -b

0 commit comments

Comments
 (0)