Skip to content

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

ci: select the mutation test runtime in one setup step (#1985)

Michael D'Angelo076eb1f82e8d
diff --git a/.github/actions/setup-tools/action.yml b/.github/actions/setup-tools/action.yml
index bcecaf84c..4ff4b2728 100644
--- a/.github/actions/setup-tools/action.yml
+++ b/.github/actions/setup-tools/action.yml
@@ -1,9 +1,9 @@
name: Set up TypeScript tools
description: Install the pinned package manager and Node.js runtime for repository tools.
inputs:
- setup-node:
- description: Install the pinned Node.js runtime; false keeps an earlier setup step.
- default: "true"
+ node-version:
+ description: Node.js version for repository tools.
+ default: "22.13.0"
cache-dependency-path:
description: Lockfiles used for the pnpm store cache.
default: "sdk/typescript/pnpm-lock.yaml"
@@ -22,7 +22,7 @@ runs:
- name: Set up Node.js and pnpm cache
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
- node-version: ${{ inputs.setup-node == 'true' && '22.13.0' || '' }}
+ node-version: ${{ inputs.node-version }}
architecture: ${{ inputs.architecture }}
cache: pnpm
cache-dependency-path: ${{ inputs.cache-dependency-path }}
diff --git a/.github/workflows/test-quality.yml b/.github/workflows/test-quality.yml
index f50007c45..41e794204 100644
--- a/.github/workflows/test-quality.yml
+++ b/.github/workflows/test-quality.yml
@@ -218,14 +218,10 @@ jobs:
timeout-minutes: 20
steps:
- *actions-checkout
- - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
+ - uses: ./.github/actions/setup-tools
with:
# Stryker 10's Babel 8 requires Node 22.18+ or 24.11+.
node-version: "24.15.0"
- - name: Set up pnpm
- uses: ./.github/actions/setup-tools
- with:
- setup-node: false
- *set-up-bun
- name: Install dependencies
run: pnpm --dir sdk/typescript install --frozen-lockfile