From 9eabcae690da4b808a29499bd113de59716fd437 Mon Sep 17 00:00:00 2001 From: Ben Drucker Date: Tue, 12 Aug 2025 17:26:56 -0700 Subject: [PATCH 1/6] travis -> github actions --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ .travis.yml | 13 ------------- 2 files changed, 22 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..f172ef1 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: Test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [8] + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c888571..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: node_js -node_js: - - '4' - - '6' - - '8' -env: - - CXX=g++-4.8 -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-4.8 \ No newline at end of file From 318dbeb09856922ba94d8fdc249f75e6c5279448 Mon Sep 17 00:00:00 2001 From: Ben Drucker Date: Tue, 12 Aug 2025 17:30:33 -0700 Subject: [PATCH 2/6] downgrade os --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f172ef1..796db65 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 # Node.js 8 requires older Python for node-gyp compatibility strategy: matrix: node-version: [8] From 9e0b7b7547b8e1dcf92ef2ac6073604d246951d9 Mon Sep 17 00:00:00 2001 From: Ben Drucker Date: Tue, 12 Aug 2025 17:32:48 -0700 Subject: [PATCH 3/6] trim on --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 796db65..a7ada9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,9 +2,9 @@ name: Test on: push: - branches: [ master ] + branches: + - master pull_request: - branches: [ master ] jobs: test: From c1be90b225e73f3b03cf25b046770dae2b4c4c82 Mon Sep 17 00:00:00 2001 From: Ben Drucker Date: Tue, 12 Aug 2025 17:34:34 -0700 Subject: [PATCH 4/6] setup-python --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a7ada9a..e5f359a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,12 +8,16 @@ on: jobs: test: - runs-on: ubuntu-20.04 # Node.js 8 requires older Python for node-gyp compatibility + runs-on: ubuntu-latest strategy: matrix: node-version: [8] steps: - uses: actions/checkout@v4 + - name: Setup Python 3.8 + uses: actions/setup-python@v4 + with: + python-version: '3.8' - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: From 88dc39fb290b1aa8e90629cbf775bb2fc403049a Mon Sep 17 00:00:00 2001 From: Ben Drucker Date: Tue, 12 Aug 2025 17:36:39 -0700 Subject: [PATCH 5/6] rm growl --- test/mocha.opts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/mocha.opts b/test/mocha.opts index 12eef2b..f82a592 100644 --- a/test/mocha.opts +++ b/test/mocha.opts @@ -1,5 +1,4 @@ --require should --reporter spec --ui bdd ---growl -test \ No newline at end of file +test From 85809fc6cb46fb2dd093d713782c78f8150c5550 Mon Sep 17 00:00:00 2001 From: Ben Drucker Date: Tue, 12 Aug 2025 17:37:47 -0700 Subject: [PATCH 6/6] rm name --- .github/workflows/test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e5f359a..389dd0e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,3 @@ -name: Test - on: push: branches: