Exemple pratique d'automatisation des tests et du linting pour projets web avec GitHub Actions. Pipeline CI/CD complète avec Jest, Deno et Super-Linter.
- HTML5/CSS3/JavaScript - Technologies front-end
- Jest & Deno - Frameworks de tests
- GitHub Actions - Pipeline CI/CD
- Super-Linter - Validation de code
- Tests automatisés - Jest et Deno en parallèle
- Linting continu - Validation automatique du code
- Multi-environnements - Support Node.js et Deno
- Badges de statut - Suivi visuel en temps réel
- Node.js (version 16+) et npm
- Deno (optionnel pour tests Deno)
- Compte GitHub avec Actions activées
git clone https://github.com/Y-Picot/github-actions-html-css-js.git
cd github-actions-html-css-js
npm install
npm run test-jest
Commande | Description |
---|---|
npm run test-jest |
Tests unitaires avec Jest |
npm run test-deno |
Tests unitaires avec Deno |
deno test |
Tests Deno directement |
github-actions-html-css-js/
├── .github/workflows/ # GitHub Actions
├── src/ # Code source HTML/CSS/JS
├── tests/ # Tests Jest et Deno
├── package.json # Configuration npm
└── README.md # Documentation
- Tests Jest - Tests unitaires Node.js avec couverture
- Super-Linter - Validation HTML/CSS/JS automatique
- Tests Deno - Tests avec runtime sécurisé Deno
- Fork le projet
- Créez votre branche (
git checkout -b feature/amelioration
) - Testez (
npm run test-jest
) - Committez (
git commit -m 'Nouvelle fonctionnalité'
) - Ouvrez une Pull Request
Licence MIT - voir LICENSE pour les détails.
Y-Picot - GitHub
⭐ Projet utile ? N'hésitez pas à lui donner une étoile !