This repository is currently being migrated. It's locked while the migration is in progress.
Workflows: improve efficiency of yarn install#1918
Draft
powellkerry wants to merge 22 commits into
Draft
Conversation
…in permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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.
Chromatic
https://workflow-improvements--65a6e2ed2314f7b8f98609d8.chromatic.com
Description
This pull request updates several GitHub Actions workflows to use newer versions of key actions and streamlines the dependency installation process. The main improvements focus on upgrading action versions for better reliability and security, and simplifying how dependencies are installed across jobs.
Workflow action upgrades:
actions/checkoutfrom version 2 to version 4 for improved performance and security across.github/workflows/chromatic.yml,.github/workflows/node.js.yml,.github/workflows/publish-storybook.yml, and.github/workflows/publish.yml. [1] [2] [3] [4]actions/setup-nodefrom version 3 to version 4 to ensure compatibility with the latest Node.js features and security patches. [1] [2] [3] [4]aws-actions/configure-aws-credentialsfrom version 1 to version 2 in.github/workflows/publish-storybook.yml.Dependency installation improvements:
yarn installsteps with a singleyarn install --immutablestep in all workflows, ensuring that the lockfile is strictly followed and reducing redundant installs in subdirectories. [1] [2] [3] [4] [5]Testing and build process simplification:
These changes help keep workflows up-to-date, more maintainable, and faster.
Related tickets and links
Closes
Screenshots
Testing and review
Approvals
See the QA Checklists section below for suggested approvals. Use your best judgment if additional reviews are needed. When in doubt, request a review.
Approval groups
Add approval groups to the PR as needed:
QA checklists
Use the QA checklists below as guides, not rules. Not all checklists will apply to every PR but there could be some overlap.
In all scenarios, changes should be fully tested by the author and verified by the reviewer(s); functionality, responsiveness, etc.
✨ New Component Added
minorlabel🌱 New Component Variation Added
minorlabel🐞 Component Fix
patchlabel♿️ Component Fix - Accessibility
patchlabel🚨 Component Fix - Breaking API Change
majorlabel🔧 Component Update - Non-Breaking API Change
minorlabel📖 Storybook Update
ignore-for-releaselabel🎨 CSS-Library Update
css-librarylabel