-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
As a developer
I need a CI pipeline in GitHub Actions that builds my project every time I create a pull request to the dev, master or release branch
So that I can ensure that my code integrates seamlessly, passes all build steps, and maintains the quality of the development branch
Details and Assumptions
- The project is a React application hosted on GitHub.
- The project follows the Gitflow Workflow. (https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)
- GitHub Actions is used for continuous integration.
- The pipeline is implemented as a reusable workflow (https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- The pipeline triggers on pull requests to the dev, master and release branches.
- The pipeline includes steps for installing dependencies, building the React project, and optionally running tests (such as unit tests and linters).
- The build process should succeed without any compilation errors.
- Node.js v18 and yarn are used for managing dependencies.
- The dev branch is the primary branch for ongoing development.
Acceptance Criteria
Given the CI pipeline is triggered
When the pipeline executes
Then it installs all necessary dependencies
Given the CI pipeline is triggered
When the pipeline executes
Then it installs all necessary dependencies
And when the dependencies are installed
Then it builds the React project successfully without compilation errors
Given the React project build is successful
When I check the status of the pull request
Then I see a passing build status on the pull request
Given the React project build fails
When I check the status of the pull request
Then I see a failing build status and detailed error messages indicating the cause of the failureReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels