chore: Migrate from yarn to npm and update to Node 22#2772
Merged
praveenkatha-nr merged 7 commits intoreleasefrom Jan 27, 2026
Merged
chore: Migrate from yarn to npm and update to Node 22#2772praveenkatha-nr merged 7 commits intoreleasefrom
praveenkatha-nr merged 7 commits intoreleasefrom
Conversation
- Update bootstrap action to use Node 22 and npm - Replace yarn cache with built-in npm caching in setup-node - Change all workflow commands from yarn to npm run - Add -- separator for npm script arguments where needed - Update .nvmrc to Node 22 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Upgrade typescript from ^4.6.4 to ^5.9.3 - Upgrade jest from ^27.5.1 to ^29.7.0 - Upgrade ts-jest from ^27.1.5 to ^29.4.6 - Upgrade @types/jest from ^27.5.1 to ^29.5.14 - Upgrade @types/node from ^17.0.24 to ^22.0.0 - Add @types/lodash.get for type definitions - Remove yarn.lock, regenerate package-lock.json Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update target from es6 to ES2022 - Add skipLibCheck to avoid type errors in node_modules Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- release.ts: consolidate @InQuirer imports to use unified package - preview.ts: use default imports for express and cors - build-validate-quickstart-artifact.ts: fix lodash.get import path Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
File imported from non-existent helpers module and was not referenced anywhere in the codebase. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add jest.setup.js with @actions/core mock for test isolation - Add setupFiles config to jest.config.js - Fix cockatiel retry API order (.exponential().attempts() instead of .attempts().exponential()) - Fix github-api-helpers.ts response handling (check resp.ok before parsing JSON) - Add .sort() to glob results in Alert.ts for deterministic ordering - Update Jest assertions for v29 compatibility: - toBeCalled -> toHaveBeenCalled - toBeCalledTimes -> toHaveBeenCalledTimes - Update fs mock in validate_images.test.js to use jest.requireActual Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Download artifacts to temp directory to prevent file override attacks - Validate PR number is numeric before using it - Add explicit permissions to all workflows following least-privilege Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
abasha1234
approved these changes
Jan 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
CI/CD Updates
npmcommandspackage-lock.jsonDependency Updates
@types/nodeto ^22.0.0typescriptto ^5.9.3ts-jestto ^29.4.6@inquirer/promptsto ^8.2.0yarn.lock, addedpackage-lock.jsonCode Fixes
.exponential().attempts()).sort()to glob results for deterministic orderingTest Updates (Jest 29 Compatibility)
toBeCalled→toHaveBeenCalledtoBeCalledTimes→toHaveBeenCalledTimesjest.setup.jswith@actions/coremockjest.requireActualTest plan
npm run check-quickstart-uniquenessnpm run validate-quickstart-idsnpm run validate-iconsnpm run validate-imagesnpm run check-dashboard-name-uniquenessnpm run add-datasource-idsnpm run build-validate-quickstart-artifactnpm run generate-uuids🤖 Generated with Claude Code