You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -80,21 +80,20 @@ If a file has linting or formatting errors, the tools will attempt to fix them a
80
80
81
81
### CI/CD Pipelines
82
82
83
-
This template includes two GitHub Actions workflows located in the `.github/workflows` directory:
83
+
This template includes one GitHub Action workflows located in the `.github/workflows` directory:
84
84
85
-
1.**`ci.yml`**: This workflow runs on every push and pull request to the `main` branch. It acts as a final validation gate, ensuring that all tests, linting, and formatting checks pass before code is merged.
86
-
2.**`feature-branch-ci.yml`**: This workflow runs on all branches _except_`main`. It provides early feedback on feature branches, running the same set of checks to ensure quality throughout the development process.
85
+
-**`ci.yml`**: This workflow runs on every push and pull request to the `main` branch. It acts as a final validation gate, ensuring that all tests, linting, and formatting checks pass before code is merged.
87
86
88
-
Both workflows perform the following steps across multiple Node.js versions (18.x, 20.x):
87
+
88
+
The workflow performs the following steps across multiple Node.js versions (18.x, 20.x):
89
89
90
90
1.**Install dependencies** using `npm ci` for fast, reliable installs.
91
91
2.**Lint code** with `npm run lint`.
92
92
3.**Lint Markdown files** with `npm run lint:md`.
93
93
4.**Check code formatting** with `npm run format`.
94
94
5.**Check Markdown formatting** with `npm run format:md`.
95
-
6.**Check for broken links** in Markdown with `npm run check:links`.
96
-
7.**Audit for vulnerabilities** with `npm audit --production`.
97
-
8.**Run tests** with `npm test`.
95
+
6.**Audit for vulnerabilities** with `npm audit --production`.
0 commit comments