diff --git a/.github/workflows/ci_validation.yml b/.github/workflows/ci_validation.yml index 6fdd6ef79..d77daced6 100644 --- a/.github/workflows/ci_validation.yml +++ b/.github/workflows/ci_validation.yml @@ -12,11 +12,7 @@ jobs: strategy: matrix: - node-version: [8.x, 10.x, 12.x, 14.x, 15.x] - # Adding version 8.x considering SharePoint Framework depends on JS Graph library - # https://docs.microsoft.com/en-us/sharepoint/dev/spfx/compatibility - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - + node-version: [10.x, 12.x, 14.x, 15.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} diff --git a/README.md b/README.md index 26eadff7d..2c1e05c22 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,9 @@ The Microsoft Graph JavaScript client library is a lightweight wrapper around th [![TypeScript demo](https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-javascript/master/types-demo.PNG)](https://github.com/microsoftgraph/msgraph-typescript-typings) +## Node version requirement +Node.js 10 LTS or higher. + ## Installation ### Via npm diff --git a/package.json b/package.json index ac39bccdf..c5b7cca8c 100644 --- a/package.json +++ b/package.json @@ -128,5 +128,8 @@ "stream-browserify": { "optional": true } + }, + "engines": { + "node": ">=10.0.0" } }