Skip to content

Commit 7a25b95

Browse files
authored
Document supported Node.js version (#414)
* Update ci_validation.yml * add node supported version in readme * package.json node engine
1 parent d193793 commit 7a25b95

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/ci_validation.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [8.x, 10.x, 12.x, 14.x, 15.x]
16-
# Adding version 8.x considering SharePoint Framework depends on JS Graph library
17-
# https://docs.microsoft.com/en-us/sharepoint/dev/spfx/compatibility
18-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
19-
15+
node-version: [10.x, 12.x, 14.x, 15.x]
2016
steps:
2117
- uses: actions/checkout@v2
2218
- name: Use Node.js ${{ matrix.node-version }}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ The Microsoft Graph JavaScript client library is a lightweight wrapper around th
88

99
[![TypeScript demo](https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-javascript/master/types-demo.PNG)](https://github.com/microsoftgraph/msgraph-typescript-typings)
1010

11+
## Node version requirement
12+
Node.js 10 LTS or higher.
13+
1114
## Installation
1215

1316
### Via npm

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,8 @@
128128
"stream-browserify": {
129129
"optional": true
130130
}
131+
},
132+
"engines": {
133+
"node": ">=10.0.0"
131134
}
132135
}

0 commit comments

Comments
 (0)