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

feat: Allow theme-build command to fail gracefully #115

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

callinmullaney
Copy link
Collaborator

@callinmullaney callinmullaney commented Sep 13, 2024

This PR does the following:
During the initial project setup it's typical to also setup the CI process. This process triggers the npm run theme-build command for remote environments. However, the project doesn't yet have a component library installed so any theme-build attempts cause a failure.

Functional Testing:

  • Run composer create-project fourkitchens/sous-drupal-project theme-build-test - choose any setup option
  • Immediately after this process completes run cd theme-build-test && nvm use && npm run theme-build - verify this fails
  • Run composer create-project fourkitchens/sous-drupal-project:dev-feat-theme-build-fail-graceful theme-build-test-2
  • Immediately after this process completes run cd theme-build-test-2 && nvm use && npm run theme-build - verify this skips the build step with a message.

@callinmullaney callinmullaney self-assigned this Sep 13, 2024
@callinmullaney callinmullaney added the 👍 Ready for Review Work is ready for review. label Sep 13, 2024
@laura-johnson
Copy link
Contributor

Thanks Callin!

@laura-johnson laura-johnson merged commit 41f4cc7 into main Sep 16, 2024
2 checks passed
fkbender pushed a commit that referenced this pull request Sep 16, 2024
# [6.2.0](6.1.0...6.2.0) (2024-09-16)

### Features

* check if src or components directory exists before compiling theme assets ([#115](#115)) ([41f4cc7](41f4cc7))
@fkbender
Copy link
Contributor

🎉 This PR is included in version 6.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👍 Ready for Review Work is ready for review. released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants