Always document changes to CI/CD configurations and scripts, and ensure pull requests remain focused on their intended purpose. When modifying build scripts, dependencies, or deployment processes:
Always document changes to CI/CD configurations and scripts, and ensure pull requests remain focused on their intended purpose. When modifying build scripts, dependencies, or deployment processes:
Example:
# When removing scripts from package.json
@@ -2,24 +2,13 @@
"name": "nestjs",
"version": "5.0.0",
"description": "Modern, fast, powerful node.js web framework",
+ "private": true,
"scripts": {
- "publish": "./node_modules/.bin/lerna publish --exact -m \"chore(@nestjs) publish %s release\"",
+ // Scripts removed
// Add a comment explaining the change
// Example: "// Publish process simplified - run 'yarn run lerna publish' directly"
Adding a CONTRIBUTING.md or updating README.md with new procedures when removing or changing build scripts ensures that the team can maintain continuity in the CI/CD workflow.
Enter the URL of a public GitHub repository