From 13164b9390b4ad81bd4449a96cc3ecfa3c945b1d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 05:07:28 +0000 Subject: [PATCH 1/4] Initial plan From 69b56f4cb0f148d2522e8e7c72601e82dea0c53c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 05:09:23 +0000 Subject: [PATCH 2/4] Add CI workflow for testing and linting Co-authored-by: asperpharma <252395498+asperpharma@users.noreply.github.com> --- .github/workflows/ci.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3161812 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,34 @@ +name: CI + +on: + push: + branches: [ master, main ] + pull_request: + branches: [ master, main ] + +jobs: + build-and-test: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x, 16.x, 18.x] + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Run ESLint + run: npx eslint extension.js test/*.js + + - name: Run tests + run: xvfb-run -a npm test + if: runner.os == 'Linux' From c6fc16aef66cfa217126fb4d8baf53cce9d6568e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 05:10:41 +0000 Subject: [PATCH 3/4] Remove redundant OS condition from CI workflow Co-authored-by: asperpharma <252395498+asperpharma@users.noreply.github.com> --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3161812..1d85618 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,4 +31,3 @@ jobs: - name: Run tests run: xvfb-run -a npm test - if: runner.os == 'Linux' From 80de7001c78289734de6debc1fcf920bf4ce0594 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 05:11:18 +0000 Subject: [PATCH 4/4] Add explicit GITHUB_TOKEN permissions to CI workflow Co-authored-by: asperpharma <252395498+asperpharma@users.noreply.github.com> --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d85618..0dad010 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,9 @@ jobs: build-and-test: runs-on: ubuntu-latest + permissions: + contents: read + strategy: matrix: node-version: [14.x, 16.x, 18.x]