Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .azure-pipelines/daily-ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ extends:
- task: NodeTool@0
displayName: Set up Node.js
inputs:
versionSpec: '20.x'
versionSpec: '22.x'

- task: npm@1
displayName: Install dependencies
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x]
# Single version should work for compilation testing
node-version: [22.x, 24.x, 26.x]

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ All pull requests should be submitted against the **main** branch or a specific

When a new package is about to be released, the release PR will be merged into `main`. The package will be generated from `main`.

## Development prerequisites

Use Node.js 22.x, 24.x, or 26.x. GitHub Actions builds all three supported versions; Azure daily-build and release pipelines use Node.js 22.x.

Install dependencies and build all workspaces from the repository root:

```shell
npm ci
npm run build
```

After building, run the integration tests with `npm test`. These tests call Microsoft Graph and require `TENANT_ID`, `CLIENT_ID`, `CLIENT_SECRET`, and `USER_ID` environment variables for a test tenant with appropriate permissions. GitHub Actions runs them only when its configured client secret is available.

## Commit message format

To support our automated release process, pull requests are required to follow the [Conventional Commit](https://www.conventionalcommits.org/en/v1.0.0/)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Get started with the Microsoft Graph SDK for Typescript by integrating the [Micr

## 1. Installation

Supported Node.js versions are 22.x, 24.x, and 26.x.

```shell
# this will install the main package
npm install @microsoft/msgraph-sdk
Expand Down
Loading
Loading