Skip to content

Commit dba69ac

Browse files
Test with Node v16 (#3054)
1 parent 777c7e9 commit dba69ac

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI
22
on: [push, pull_request]
33
env:
4-
NODE_VERSION_USED_FOR_DEVELOPMENT: 14
4+
NODE_VERSION_USED_FOR_DEVELOPMENT: 16
55
jobs:
66
lint:
77
name: Lint source files
@@ -139,7 +139,7 @@ jobs:
139139
runs-on: ubuntu-latest
140140
strategy:
141141
matrix:
142-
node_version_to_setup: [12, 14, 15]
142+
node_version_to_setup: [12, 14, 15, 16]
143143
steps:
144144
- name: Checkout repo
145145
uses: actions/checkout@v2

integrationTests/node/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"graphql": "file:../graphql.tgz",
88
"node-12": "npm:[email protected]",
99
"node-14": "npm:[email protected]",
10-
"node-15": "npm:[email protected]"
10+
"node-15": "npm:[email protected]",
11+
"node-16": "npm:[email protected]"
1112
}
1213
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"graphql-js"
2222
],
2323
"engines": {
24-
"node": "^12.20.0 || ^14.15.0 || >= 15.9.0"
24+
"node": "^12.20.0 || ^14.15.0 || ^15.9.0 || >=16.0.0"
2525
},
2626
"scripts": {
2727
"preversion": ". ./resources/checkgit.sh && npm ci",

resources/build-deno.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const prettierConfig = JSON.parse(
1313
);
1414

1515
if (require.main === module) {
16-
fs.rmdirSync('./denoDist', { recursive: true, force: true });
16+
fs.rmSync('./denoDist', { recursive: true, force: true });
1717
fs.mkdirSync('./denoDist');
1818

1919
const srcFiles = readdirRecursive('./src', { ignoreDir: /^__.*__$/ });

0 commit comments

Comments
 (0)