Skip to content

Commit

Permalink
chore: Add Node.js 16 to CI (#801)
Browse files Browse the repository at this point in the history
* Add node.js 16 to ci

* Bump grpc and highlights

* Bump a few more deps

* Bump node-gyp

* Revert pdf2json

* Remove highlights

* Increase RAM to 4GB

* Remove pdf2json
  • Loading branch information
styfle committed Dec 22, 2021
1 parent deae862 commit 4edab22
Show file tree
Hide file tree
Showing 5 changed files with 680 additions and 722 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
node: [12, 14]
node: [14, 16]
runs-on: ${{ matrix.os }}
steps:
- name: Cancel Previous Runs
Expand Down
14 changes: 6 additions & 8 deletions package.json
Expand Up @@ -15,8 +15,8 @@
"build": "node scripts/build.js",
"build-test-binary": "cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node",
"codecov": "codecov",
"test": "node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest",
"test-coverage": "node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \"{\\\"coverage\\\":true}\" && codecov",
"test": "node --expose-gc --max_old_space_size=4096 node_modules/.bin/jest",
"test-coverage": "node --expose-gc --max_old_space_size=4096 node_modules/.bin/jest --coverage --globals \"{\\\"coverage\\\":true}\" && codecov",
"prepublishOnly": "node scripts/build.js --no-cache"
},
"devDependencies": {
Expand All @@ -27,7 +27,7 @@
"@google-cloud/firestore": "^4.14.0",
"@sentry/node": "^6.10.0",
"@slack/web-api": "^6.3.0",
"@tensorflow/tfjs-node": "^3.8.0",
"@tensorflow/tfjs-node": "^3.12.0",
"@vercel/webpack-asset-relocator-loader": "1.7.0",
"analytics-node": "^5.0.0",
"apollo-server-express": "^2.2.2",
Expand Down Expand Up @@ -57,11 +57,10 @@
"got": "^11.8.2",
"graceful-fs": "^4.1.15",
"graphql": "^15.5.1",
"highlights": "^3.1.1",
"hot-shots": "^8.5.0",
"ioredis": "^4.2.0",
"isomorphic-unfetch": "^3.0.0",
"jest": "^27.0.6",
"jest": "^27.4.5",
"jimp": "^0.16.1",
"jugglingdb": "2.0.1",
"koa": "^2.6.2",
Expand All @@ -75,13 +74,12 @@
"mkdirp": "^1.0.4",
"mongoose": "^5.3.12",
"mysql": "^2.16.0",
"node-gyp": "^8.1.0",
"node-gyp": "^8.4.1",
"npm": "^6.13.4",
"oracledb": "^4.2.0",
"passport": "^0.4.0",
"passport-google-oauth": "^2.0.0",
"path-platform": "^0.11.15",
"pdf2json": "^1.1.8",
"pdfkit": "^0.12.1",
"pg": "^8.7.1",
"pug": "^3.0.1",
Expand Down Expand Up @@ -114,6 +112,6 @@
"when": "^3.7.8"
},
"resolutions": {
"grpc": "1.24.6"
"grpc": "1.24.11"
}
}
6 changes: 0 additions & 6 deletions test/integration/highlights.js

This file was deleted.

8 changes: 0 additions & 8 deletions test/integration/pdf2json.js

This file was deleted.

0 comments on commit 4edab22

Please sign in to comment.