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

refactor(ci): reuse Markdown tool setup (#1215)

mldangelo-oai40ca4adc99ee
diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml
index c67455b39..144ff389f 100644
--- a/.github/workflows/node-ci.yml
+++ b/.github/workflows/node-ci.yml
@@ -126,19 +126,9 @@ jobs:
exit 1
fi
- - name: Set up pnpm
- if: steps.scope.outputs.check-markdown == 'true'
- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
- with:
- package_json_file: package.json
- cache: true
- cache_dependency_path: sdk/typescript/pnpm-lock.yaml
-
- - name: Set up Node.js
+ - name: Set up TypeScript tools
if: steps.scope.outputs.check-markdown == 'true'
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- with:
- node-version: "22.13.0"
+ uses: ./.github/actions/setup-tools
- name: Install dependencies
if: steps.scope.outputs.check-markdown == 'true'
diff --git a/sdk/typescript/tests-ts/release-automation.test.ts b/sdk/typescript/tests-ts/release-automation.test.ts
index e60282180..73cea1aaf 100644
--- a/sdk/typescript/tests-ts/release-automation.test.ts
+++ b/sdk/typescript/tests-ts/release-automation.test.ts
@@ -4237,8 +4237,7 @@ describe("GitHub release workflow safeguards", () => {
]),
);
for (const stepName of [
- "Set up pnpm",
- "Set up Node.js",
+ "Set up TypeScript tools",
"Install dependencies",
"Check Markdown formatting",
]) {