Skip to content

Commit 53071f6

Browse files
committed
ci: run tests on Node 24.10.0 only
Changes: - Update default node-versions from [20, 22, 24] to ["24.10.0"] - Update e2e test matrix to use Node 24.10.0 only - Update commented sharded test matrix for consistency This reduces CI matrix combinations and focuses testing on the target Node.js version for Socket CLI.
1 parent 3175696 commit 53071f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ on:
3030
description: 'Node.js versions to test (JSON array)'
3131
required: false
3232
type: string
33-
default: '[20, 22, 24]'
33+
default: '["24.10.0"]'
3434

3535
permissions:
3636
contents: read
@@ -44,7 +44,7 @@ jobs:
4444
lint-script: 'pnpm --filter @socketsecurity/cli run check'
4545
type-check-script: 'pnpm --filter @socketsecurity/cli run type'
4646
test-script: ${{ inputs.skip-tests && 'echo "Tests skipped"' || 'pnpm --filter @socketsecurity/cli run test:unit' }}
47-
node-versions: ${{ inputs.node-versions || '[20, 22, 24]' }}
47+
node-versions: ${{ inputs.node-versions || '["24.10.0"]' }}
4848
os-versions: '["ubuntu-latest", "macos-latest", "windows-latest"]'
4949
fail-fast: false
5050
# Increase parallelization for socket-cli's longer test suite (~48s).
@@ -62,7 +62,7 @@ jobs:
6262
# strategy:
6363
# fail-fast: false
6464
# matrix:
65-
# node-version: ${{ fromJSON(inputs.node-versions || '[20, 22, 24]') }}
65+
# node-version: ${{ fromJSON(inputs.node-versions || '["24.10.0"]') }}
6666
# os: [ubuntu-latest, macos-latest, windows-latest]
6767
# shard: [1, 2, 3]
6868
# steps:
@@ -86,7 +86,7 @@ jobs:
8686
strategy:
8787
fail-fast: true
8888
matrix:
89-
node-version: ${{ fromJSON(inputs.node-versions || '[20, 22, 24]') }}
89+
node-version: ['24.10.0']
9090
os: [ubuntu-latest]
9191
steps:
9292
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@51be85d39d3b4a42dd9d4712948b9d30a2e04794

0 commit comments

Comments
 (0)