Skip to content

Commit ba2c498

Browse files
committed
Create issue: Set Up Quality Testing Pipeline
1 parent 3ab1196 commit ba2c498

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
### Detailed Plan
2+
3+
1. **Title of the Issue**: Set Up Quality Testing Pipeline
4+
- This issue focuses on integrating robust quality testing systems, including pre-commit hooks, local testing scripts, and CI pipelines, to ensure the codebase adheres to high-quality standards.
5+
6+
2. **Description**:
7+
- Set up pre-commit hooks to automatically check code quality before commits. This will include tools like `husky` and `lint-staged` to lint and fix CSS, JavaScript, and Nunjucks templates.
8+
- Create local testing scripts for CSS (`stylelint`), JavaScript (`eslint`), Nunjucks (`eslint-plugin-nunjucks`), and HTML validation using `htmlproofer`.
9+
- Configure accessibility testing through `pa11y`.
10+
- Set up a CI workflow with GitHub Actions to automate the following:
11+
- Prettier, Stylelint, and ESLint linting for all files.
12+
- Building the site using Eleventy.
13+
- HTML validation (`htmlproofer`) and accessibility checks (`pa11y`).
14+
- Adding Visual Regression Testing tools (optional).
15+
16+
3. **Acceptance Criteria**:
17+
- All necessary tools (Prettier, Stylelint, ESLint, etc.) must be installed and functional.
18+
- The repository must include local testing scripts accessible via npm run commands.
19+
- CI workflows should successfully execute linting, testing, and build processes.
20+
- CI workflows must pass without errors on every code push or pull request.
21+
22+
4. **Checklist**:
23+
- [ ] Add pre-commit hooks with husky and lint-staged.
24+
- [ ] Configure local testing scripts for linting and validation.
25+
- [ ] Set up GitHub Actions workflows for CI testing.
26+
- [ ] Ensure Visual Regression Testing is optional but supported.
27+
28+
---
29+
This issue ensures the repository improves developer experience and code quality, making it easier to maintain and evolve.

0 commit comments

Comments
 (0)