GitHub Actions ile CI/CD kurulumu
Geliştiriciler, dokümantasyon için görsel ipuçlarıyla yapılandırılmış, kopyala-yapıştıra hazır öğreticiler üreterek fayda sağlar.
Girdi ve çıktı önizlemesini gör
Girdi
- Task
- Set up a CI/CD pipeline with GitHub Actions for a Node.js app
- Difficulty Level
- intermediate
- Include Images Notes
- yes
- Tools Required
- GitHub account, Node.js 18+, a repository with npm scripts
Çıktı (alıntı)
How to Set Up a CI/CD Pipeline with GitHub Actions
Prerequisites: GitHub account, Node.js 18+, a repo with `npm test` and `npm run build`.
Step 1 — Create the workflow file. In your repo, add `.github/workflows/ci.yml`. [Image: screenshot of the file tree showing the new workflow folder]
Step 2 — Define the trigger. Set the workflow to run on every push and pull request to main:
```yaml
on:
push:
branches: [main]
```
Step 3 — Add the test job...