From da36ca3a3f8abf3d54a8da5203ed60e3b4af8e66 Mon Sep 17 00:00:00 2001 From: David Leal Date: Sat, 28 Jun 2025 16:43:47 -0600 Subject: [PATCH 1/2] chore: trigger ruleset check From 2995376e7a7c4928f9b86b0db471439dc5813535 Mon Sep 17 00:00:00 2001 From: David Leal Date: Sat, 28 Jun 2025 16:55:47 -0600 Subject: [PATCH 2/2] fix(ci): remove markdown code fence from ci.yaml --- .github/workflows/ci.yaml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c3c159c..61da753 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,15 @@ -```yaml +# File: .github/workflows/ci.yaml +# This GitHub Actions workflow is designed to run on pull requests targeting the `main` branch +# of your repository. It sets up a continuous integration (CI) environment to build and test +# your Office Scripts project using Node.js and TypeScript. +#**Usage summary:** +#- Triggers for pull requests targeting the `main` branch. +#- Runs on Ubuntu using Node.js v20. +#- Installs dependencies, copies TypeScript code for review, and runs tests using Node.js with mocks (no Excel Online needed). +#- Test entry point and mocks are controlled by `wrappers/main-wrapper.ts` and `mocks/excelscript.mock.ts`. +#- All steps use standard GitHub Actions and npm scripts as defined in your project. +# The workflow includes the following steps: + name: CI on: @@ -31,11 +42,4 @@ jobs: # Runs the test suite using ts-node and local Office Script mocks (configured in wrappers/main-wrapper.ts) - name: Run tests (local Node.js + mocks) - run: npm test -``` -**Usage summary:** -- Triggers for pull requests targeting the `main` branch. -- Runs on Ubuntu using Node.js v20. -- Installs dependencies, copies TypeScript code for review, and runs tests using Node.js with mocks (no Excel Online needed). -- Test entry point and mocks are controlled by `wrappers/main-wrapper.ts` and `mocks/excelscript.mock.ts`. -- All steps use standard GitHub Actions and npm scripts as defined in your project. \ No newline at end of file + run: npm test \ No newline at end of file