From c945aef43cfea5a78180651106d8aa4e8595299e Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Thu, 16 Jul 2026 08:34:48 +0200 Subject: [PATCH] Bump NodeJS versions --- .github/workflows/linux.yml | 8 ++++---- .github/workflows/osx.yml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index ad1f9f7..d567139 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20.x, 22.x, 24.x] + node-version: [22.x, 24.x, 26.x] steps: - name: Harden Runner uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2 @@ -32,11 +32,11 @@ jobs: run: sudo ip route show - name: Get default interface run: sudo ip route | awk '/default/ {print $5; exit}' | tr -d '\n' - - name: Test cable + - name: Test cable run: LOG_THROTTLE=true bin/index.js cable && bin/index.js stop - - name: Test configuration + - name: Test configuration run: LOG_THROTTLE=true bin/index.js throttle --up 330 --down 780 --rtt 200 && bin/index.js stop - - name: Test localhost + - name: Test localhost run: LOG_THROTTLE=true bin/index.js --rtt 200 --localhost && bin/index.js stop --localhost - name: Test config file run: LOG_THROTTLE=true bin/index.js --config test/config.json && bin/index.js stop diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index c97ec03..058398e 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -18,16 +18,16 @@ jobs: - name: Use Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 with: - node-version: '20.x' - - name: Install dependencies + node-version: '24.x' + - name: Install dependencies run: npm ci - - name: Test 3g + - name: Test 3g run: bin/index.js 3g && bin/index.js stop - - name: Test configuration + - name: Test configuration run: bin/index.js throttle --up 330 --down 780 --rtt 200 && bin/index.js stop - name: Test localhost run: bin/index.js throttle --rtt 200 --localhost && bin/index.js stop --localhost - - name: Test profile and packet loss + - name: Test profile and packet loss run: bin/index.js 3g --packetLoss 5 && bin/index.js stop - name: Test configuration and packet loss run: bin/index.js throttle --up 330 --down 780 --rtt 200 --packetLoss 5 && bin/index.js stop