Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading