Skip to content

Commit

Permalink
Drop support for Node10 (#2923)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Feb 18, 2021
1 parent bb58eb9 commit 8168a9a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .babelrc-npm.json
Expand Up @@ -8,7 +8,7 @@
"presets": [
[
"@babel/preset-env",
{ "modules": "commonjs", "targets": { "node": "10" } }
{ "modules": "commonjs", "targets": { "node": "12" } }
]
],
"plugins": [
Expand All @@ -17,7 +17,7 @@
},
"mjs": {
"presets": [
["@babel/preset-env", { "modules": false, "targets": { "node": "10" } }]
["@babel/preset-env", { "modules": false, "targets": { "node": "12" } }]
],
"plugins": [
["./resources/add-extension-to-import-paths", { "extension": "mjs" }]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -145,7 +145,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node_version_to_setup: [10, 12, 14, 15]
node_version_to_setup: [12, 14, 15]
steps:
- name: Checkout repo
uses: actions/checkout@v2
Expand Down
1 change: 0 additions & 1 deletion integrationTests/node/package.json
Expand Up @@ -5,7 +5,6 @@
},
"dependencies": {
"graphql": "file:../graphql.tgz",
"node-10": "npm:node@10.x.x",
"node-12": "npm:node@12.x.x",
"node-14": "npm:node@14.x.x",
"node-15": "npm:node@15.x.x"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -21,7 +21,7 @@
"graphql-js"
],
"engines": {
"node": ">= 10.x"
"node": "^12.20.0 || ^14.15.0 || >= 15.9.0"
},
"scripts": {
"preversion": ". ./resources/checkgit.sh && npm ci",
Expand Down

0 comments on commit 8168a9a

Please sign in to comment.