Skip to content

Refactor workflows#61

Merged
javidahmed64592 merged 3 commits into
mainfrom
update-workflows
Jun 6, 2026
Merged

Refactor workflows#61
javidahmed64592 merged 3 commits into
mainfrom
update-workflows

Conversation

@javidahmed64592

Copy link
Copy Markdown
Owner

This pull request updates the GitHub Actions CI workflows to improve consistency, modularity, and support for both Python and Node.js projects. The workflows now use a standardized set of reusable actions for setting up environments and running checks, and they have been refactored for better maintainability and extensibility.

Key workflow improvements:

Workflow standardization and modularization:

  • Replaced custom job names and steps with a consistent set of reusable actions for Python environment setup (setup-uv-python, install-python-dev, etc.) and checks, making the workflows easier to maintain and extend. (.github/workflows/ci.yml, .github/workflows/build.yml, .github/workflows/docs.yml) [1] [2] [3]
  • Refactored job names and consolidated related checks (e.g., linting, type checking, security analysis) under unified jobs like python-code-check, python-security-check, and python-validate. (.github/workflows/ci.yml)

Node.js/Frontend support:

  • Added conditional Node.js setup and jobs (npm-code-check, npm-tests) that only run if a frontend directory exists, enabling support for hybrid Python/Node.js projects. (.github/workflows/ci.yml)

Documentation and build process improvements:

  • Updated the docs and build workflows to use the new Python setup actions, ensuring consistent environment preparation for documentation builds and wheel builds. (.github/workflows/build.yml, .github/workflows/docs.yml) [1] [2]

These changes make the CI/CD pipeline more robust, modular, and ready for projects with both backend and frontend components.

@javidahmed64592 javidahmed64592 merged commit b03090a into main Jun 6, 2026
11 checks passed
@javidahmed64592 javidahmed64592 deleted the update-workflows branch June 6, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant