Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Y25-098 - Migrate & Improve GitHub Actions - Traction UI #2181

Open
4 tasks
SHIV5T3R opened this issue Feb 6, 2025 · 0 comments
Open
4 tasks

Y25-098 - Migrate & Improve GitHub Actions - Traction UI #2181

SHIV5T3R opened this issue Feb 6, 2025 · 0 comments
Labels
Size: S Small - low effort & risk Technical Debt Technical debt

Comments

@SHIV5T3R
Copy link
Member

SHIV5T3R commented Feb 6, 2025

Describe the Housekeeping
As a part of the parent story, the workflows for Traction UI can be migrated to shared workflows and improved upon. One of the biggest improvements can be made to ci.yml because there is a lot of repetition when setting up environments for testing and linting.

Workflows to migrate

  • ci.yml - This consists of prettier, ESLint, vitest, and cypress. These individual actions should be migrated into shared workflows, and then pulled into the main CI action. This means that the same node instance can be used.
  • check_release_version.yml - Use the shared workflow version of this, it's used everywhere.
  • automated_release.yml - Use the shared workflow version of this, it's used everywhere.
  • asset_dispatch.yml - Creates and uploads releases. This is fairly similar to append_release.yml in other repos, it could be consolidated and made into one shared workflow?

Potential improvements
Setup any environments (node/bundle) an cache them. These cached instances can then be used, being relied on by each step, so that the instance is only created once.

Related issues

Additional context
This repository already has some shared workflows, these can be left. There is also an action to generate documentation for Traction. This doesn't need to be migrated to a shared workflow, but there can be improvements made, including relying on the node setup from the other actions here.

@psd-issuer psd-issuer bot changed the title Migrate & Improve GitHub Actions - Traction UI Y25-098 - Migrate & Improve GitHub Actions - Traction UI Feb 6, 2025
@SHIV5T3R SHIV5T3R added Size: S Small - low effort & risk Technical Debt Technical debt labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: S Small - low effort & risk Technical Debt Technical debt
Projects
None yet
Development

No branches or pull requests

1 participant