🏠 Ana Sayfa
Benchmarklar
📊 Tüm Benchmarklar 🦖 Dinozor v1 🦖 Dinozor v2 ✅ To-Do List Uygulamaları 🎨 Yaratıcı Serbest Sayfalar 🎯 FSACB - Nihai Gösteri 🌍 Çeviri Benchmarkı
Modeller
🏆 En İyi 10 Model 🆓 Ücretsiz Modeller 📋 Tüm Modeller ⚙️ Kilo Code
Kaynaklar
💬 Prompt Kütüphanesi 📖 YZ Sözlüğü 🔗 Faydalı Bağlantılar
Intermédiaire

Pipeline GitLab CI/CD

#gitlab #ci-cd #devops #yaml

Configure un fichier .gitlab-ci.yml complet pour tester et déployer.

Crée un fichier `.gitlab-ci.yml` pour une application Node.js. Stages requis : 1. **Build** : `npm install` et `npm build`. 2. **Test** : `npm test`, ne doit pas bloquer si échec sur la branche `dev` (allow_failure). 3. **Deploy** : Un job manuel qui ne s'exécute que sur la branche `main` (simulation d'un déploiement SSH). Utilise le cache pour `node_modules`.