onenote-ci-integration

Featured

Set up CI/CD pipelines for OneNote integrations with Graph API testing and mock strategies. Use when configuring GitHub Actions, setting up test credentials, or building mock-based CI tests. Trigger with "onenote ci", "onenote github actions", "onenote test pipeline", "graph api ci".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# OneNote CI Integration ## Overview Testing OneNote integrations in CI requires Azure AD app registration, credential management, and mock strategies for Graph API responses. This skill provides two proven CI strategies: mock-only PR checks (zero Azure credentials required) and nightly live integration tests with proper credential isolation and rate limit awareness. ## Prerequisites - GitHub Actions or equivalent CI platform - Node.js 18+ or Python 3.10+ - For mock-only CI: no Azure credentials needed - For live integration tests: Azure AD test tenant with app registration - GitHub repository secrets configured (live tests only) ## Instructions ### Strategy 1: Mock-Only CI (PR Checks) Use `msw` (Mock Service Worker) to intercept Graph API calls with zero Azure dependency: ```typescript // tests/mocks/handlers.ts import { http, HttpResponse } from "msw"; const GRAPH = "https://graph.microsoft.com/v1.0"; export const handlers = [ http.get(`${GRAPH}/me/onenote/notebooks`, () => HttpResponse.json({ value: [ { id: "nb-001", displayName: "Work Notes", createdDateTime: "2026-01-15T10:00:00Z" }, ]})), http.get(`${GRAPH}/me/onenote/sections/:sectionId/pages`, () => HttpResponse.json({ value: [ { id: "page-001", title: "Sprint Review", createdDateTime: "2026-03-10T14:00:00Z" }, ]})), http.post(`${GRAPH}/me/onenote/sections/:sectionId/pages`, async ({ request }) => { const body = await request.text(); if (!body.includes("<html")) { ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category