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

Ci cd/pull #603

Merged
merged 7 commits into from
Mar 8, 2024
Merged

Ci cd/pull #603

merged 7 commits into from
Mar 8, 2024

Conversation

suddenlyGiovanni
Copy link
Owner

No description provided.

The checks workflow has been updated to install dependencies without
production dependencies, and to use Biome for code linting. The existing
 format checks using Prettier have been commented out, to be
 reintroduced in the future if required.

Signed-off-by: Giovanni Ravalico <[email protected]>
A console.log was added to the Button component for debugging purposes.
Additionally, the "useIgnoreFile" property was set to true in the biome
.json file to ensure specific files and directories are ignored,
avoiding unnecessary tracking or processing.

Signed-off-by: Giovanni Ravalico <[email protected]>
The linting command in the push checks workflow was updated to prevent
checking only changed files, now all files will be checked. Furthermore,
 an unnecessary console log was removed from the button component in the
  UI package.

Signed-off-by: Giovanni Ravalico <[email protected]>
The linting command in the push-checks-workflow has been updated to format only changed files. In addition, an exception to the naming convention has been applied in the button component to accommodate a valid use case for the "asChild" prop.

Signed-off-by: Giovanni Ravalico <[email protected]>
The GitHub workflow has been updated to change the code formatting
process. Instead of linting the code, the workflow action now formats
the code using Biome. Additionally, redundant code formatting steps with
 Prettier have been removed for clean up.

Signed-off-by: Giovanni Ravalico <[email protected]>
The fetch-depth attribute has been added to the "checkout code" step in .github/workflows/push-checks-workflow.yml. This change is made to ensure that the entire history is fetched during the checkout process for accurate comparison and test results.

Signed-off-by: Giovanni Ravalico <[email protected]>
The ESLint linting command in `.github/workflows/push-checks-workflow.yml` has been updated to only lint changed files. This change will improve the efficiency of the linting process by targeting only the updated files instead of the entire codebase.

Signed-off-by: Giovanni Ravalico <[email protected]>
- name: 📝 Format code (with Prettier)
run: pnpm format
- name: 🚨 Lint code (with ESLint)
run: |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2046:warning:1:38: Quote this to prevent word splitting [shellcheck]

- name: 📝 Format code (with Prettier)
run: pnpm format
- name: 🚨 Lint code (with ESLint)
run: |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:2:20: Double quote to prevent globbing and word splitting [shellcheck]

@suddenlyGiovanni suddenlyGiovanni marked this pull request as ready for review March 8, 2024 02:30
@suddenlyGiovanni suddenlyGiovanni merged commit e36ba6d into main Mar 8, 2024
16 of 18 checks passed
@suddenlyGiovanni suddenlyGiovanni deleted the ci-cd/pull branch March 8, 2024 02: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