-
Notifications
You must be signed in to change notification settings - Fork 1
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
CI: Optimize CI workflow to run tests and linting only on relevant file changes #1149
Merged
Conversation
This file contains 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
drikusroor
force-pushed
the
ci/files-changed-filter
branch
from
June 25, 2024 09:44
601e645
to
2b7466f
Compare
drikusroor
force-pushed
the
ci/files-changed-filter
branch
3 times, most recently
from
July 1, 2024 09:05
65c07d8
to
4402b22
Compare
BeritJanssen
reviewed
Jul 1, 2024
BeritJanssen
reviewed
Jul 1, 2024
…er backend test & lint workflow
…end and pull requests
drikusroor
force-pushed
the
ci/files-changed-filter
branch
from
July 1, 2024 10:46
4402b22
to
9ae176a
Compare
…ile, .env-github-actions and docker-compose.yaml as conditions to run
drikusroor
force-pushed
the
ci/files-changed-filter
branch
from
July 1, 2024 11:01
70ad5fa
to
d759882
Compare
BeritJanssen
approved these changes
Jul 1, 2024
albertas-jn
approved these changes
Jul 1, 2024
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.
The PR involves significant restructuring of the GitHub Actions workflows, splitting the original CI workflow into separate workflows for backend and frontend, and updating conditions for running certain actions. Additionally, minor changes are made to the Storybook workflow and a frontend component.
Changes in Workflows
1. Rename and Modify Backend Workflow
push
andpull_request
events, but only if changes are made in thebackend/**
directory.2. Create Separate Frontend Workflow
New File:
.github/workflows/ci-frontend.yml
Name: Frontend Test & Lint
Trigger Conditions:
push
andpull_request
events, but only if changes are made in thefrontend/**
and the.yarn
directory.Jobs Added:
3. Update Storybook Workflow
push
andpull_request
events for changes in the following paths:frontend/**
.github/workflows/storybook.yml
.yarn/**
.storybook/**
Summary