build: add workflow to deploy on production and setup git-hooks#33
Merged
build: add workflow to deploy on production and setup git-hooks#33
Conversation
…uild/release-prod
- Update the CI workflow file to include a new step for linting PHP files using PHP_CodeSniffer with the PSR12 standard. - Add a new linting step in the lefthook configuration file to run PHP_CodeSniffer on staged PHP files.
80e0e21 to
d299faa
Compare
This file contains hidden or 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
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.
This pull request introduces significant updates to the CI/CD pipeline, adds a new release workflow, and makes several configuration changes to enhance the development process. The key changes involve improving the CI workflow, introducing automated production release steps, and refining configuration files for better code quality and deployment practices.
CI/CD Pipeline Enhancements:
Pint format) and linting (PHP_CodeSniffer Lint). These additions aim to ensure code quality and consistency throughout the development lifecycle.FORGE_DEPLOY_TOKEN) and refining the deployment URL for more secure and efficient releases.New Release Workflow:
release-prodworkflow that streamlines production releases, including steps for validating inputs, updating the main branch, creating a release, and deploying to production.Configuration Updates:
.npmrcto enforce exact version installations and disable caching of side effects to maintain consistent dependency management.composer.jsonby addingsquizlabs/php_codesnifferand incorporating post-install and post-update commands to manage assets and dependencies efficiently.lefthookin thedevDependenciessection ofpackage.jsonto integrate it seamlessly into the development workflow.