Initial commit with tests and deployment pipeline
Test and Deploy Website / test-and-deploy (push) Successful in 1m12s

This commit is contained in:
2026-06-15 14:00:18 +02:00
commit f0b4f42cb1
11 changed files with 613 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
function validateEmail(email) {
const re = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
return re.test(email);
}
function formatGreeting(timeOfDay, name) {
return `Good ${timeOfDay}, welcome to ${name}'s portfolio!`;
}
if (typeof module !== 'undefined' && module.exports) {
module.exports = { validateEmail, formatGreeting };
}