Skip to content

Commit f44ce46

Browse files
authored
🔧 Restore Node after SDK release notes (#289)
## Why The static-site SDK release failed before tests/publish because the Codex changelog action switches the active job runtime back to Node 20. Our SDK release workflows install pnpm 11, which requires Node 22+, so the next pnpm command crashed before the package could test or publish. The warning points at `actions/setup-node@49933...` because that setup-node call lives inside `openai/codex-action`, not in these workflows. This PR fixes the breakage by setting the release job runtime back to our supported Node version immediately after Codex runs. ## What changed - Adds a post-Codex `actions/setup-node@v6` step in the Storybook, Static Site, Vitest, and Ember SDK release workflows. - Resets those jobs to Node 22.13.1 before `pnpm install`, tests, build, pack, and publish. - Keeps the release workflows single-job and avoids extra changelog plumbing. - Leaves Ruby and Swift unchanged because they do not run pnpm/npm after Codex in their release flows. ## Verification - `git diff --check HEAD^ HEAD` - Parsed all six SDK release workflow YAML files with Ruby.
1 parent c495a3b commit f44ce46

4 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/release-ember-client.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ jobs:
120120
121121
**Full Changelog**: https://github.com/vizzly-testing/cli/compare/ember/v${{ steps.current_version.outputs.version }}...ember/v${{ steps.version.outputs.version }}
122122
123+
- name: Set Node.js back to release version
124+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
125+
with:
126+
node-version: '22.13.1'
127+
registry-url: 'https://registry.npmjs.org'
128+
123129
- name: Install dependencies
124130
working-directory: ./clients/ember
125131
run: pnpm install --frozen-lockfile

.github/workflows/release-static-site-client.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ jobs:
111111
112112
**Full Changelog**: https://github.com/vizzly-testing/cli/compare/static-site/v${{ steps.current_version.outputs.version }}...static-site/v${{ steps.version.outputs.version }}
113113
114+
- name: Set Node.js back to release version
115+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
116+
with:
117+
node-version: '22.13.1'
118+
registry-url: 'https://registry.npmjs.org'
119+
114120
- name: Install dependencies
115121
working-directory: ./clients/static-site
116122
run: pnpm install --frozen-lockfile

.github/workflows/release-storybook-client.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ jobs:
111111
112112
**Full Changelog**: https://github.com/vizzly-testing/cli/compare/storybook/v${{ steps.current_version.outputs.version }}...storybook/v${{ steps.version.outputs.version }}
113113
114+
- name: Set Node.js back to release version
115+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
116+
with:
117+
node-version: '22.13.1'
118+
registry-url: 'https://registry.npmjs.org'
119+
114120
- name: Install dependencies
115121
working-directory: ./clients/storybook
116122
run: pnpm install --frozen-lockfile

.github/workflows/release-vitest-client.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ jobs:
111111
112112
**Full Changelog**: https://github.com/vizzly-testing/cli/compare/vitest/v${{ steps.current_version.outputs.version }}...vitest/v${{ steps.version.outputs.version }}
113113
114+
- name: Set Node.js back to release version
115+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
116+
with:
117+
node-version: '22.13.1'
118+
registry-url: 'https://registry.npmjs.org'
119+
114120
- name: Install dependencies
115121
working-directory: ./clients/vitest
116122
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)