From ea7352ce304ddb9c951ca9f9656b7e6ca017441a Mon Sep 17 00:00:00 2001 From: Michael Benowitz Date: Fri, 20 Mar 2026 15:05:22 -0400 Subject: [PATCH 1/4] Migrate TravisCI to GitHub Actions Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/main.yml | 26 ++++++++++++++++++++++++++ .travis.yml | 4 ---- 2 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7a7fc73 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: Build & Test + +on: + push: + branches: [ main, master ] + pull_request: + branches: [ main, master ] + +jobs: + build: + runs-on: ubuntu-22.04 # Equivalent to dist: jammy + + steps: + - uses: actions/checkout@v4 + + - name: Use Node.js 18 + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: 'npm' + + - name: Install dependencies + run: npm install + + - name: Run tests + run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0d97345..0000000 --- a/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: node_js -install: npm install -script: npm test -dist: jammy From 6a9bce5c45dfee5e5a972b080655d756a18c2d52 Mon Sep 17 00:00:00 2001 From: Mike Benowitz Date: Fri, 20 Mar 2026 15:57:11 -0400 Subject: [PATCH 2/4] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7a7fc73..04bdea0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,14 +13,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 18 + - name: Use Node.js 20 uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: 'npm' - name: Install dependencies - run: npm install + run: npm ci - name: Run tests run: npm test From 8759e5d1c5a9e48bc323cd170360f76eae77b330 Mon Sep 17 00:00:00 2001 From: Mike Benowitz Date: Fri, 20 Mar 2026 15:57:18 -0400 Subject: [PATCH 3/4] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/main.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 04bdea0..41d838a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,16 +11,16 @@ jobs: runs-on: ubuntu-22.04 # Equivalent to dist: jammy steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Use Node.js 20 - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'npm' + - name: Use Node.js 18 + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: 'npm' - - name: Install dependencies - run: npm ci + - name: Install dependencies + run: npm install - - name: Run tests - run: npm test + - name: Run tests + run: npm test From b0c0e275716bd4a4f7b8ead224eeb76fe0f0af7c Mon Sep 17 00:00:00 2001 From: Michael Benowitz Date: Fri, 20 Mar 2026 16:24:17 -0400 Subject: [PATCH 4/4] NOREF Correct CoPilot The Copilot tool correctly identified that this repo uses Node 20 and that `npm ci` is the proper command to run in a CI envirenment. However in the course of applying some cosmetic changes (that were ultimately unecessary) --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 41d838a..fd36ba2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,14 +13,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 18 + - name: Use Node.js 20 uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: 'npm' - name: Install dependencies - run: npm install + run: npm ci - name: Run tests run: npm test