1
0
mirror of https://github.com/actions/checkout.git synced 2026-07-11 19:23:49 +08:00

Compare commits

..

1 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
8da04f86f4 Initial plan 2026-03-13 21:33:07 +00:00
2 changed files with 0 additions and 36 deletions

View File

@@ -1,35 +0,0 @@
name: CI Pipeline
# Déclenche la pipeline à chaque PR et push sur main
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# 1⃣ Checkout du repo
- name: Checkout repository
uses: actions/checkout@v4
# 2⃣ Installer Node.js selon .nvmrc
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
# 3⃣ Installer les dépendances de manière reproductible
- name: Install dependencies
run: npm ci
# 4⃣ Lancer les tests unitaires
- name: Run unit tests
run: npm test
# 5⃣ Linter le code
- name: Lint code
run: npm run lint

1
.nvmrc
View File

@@ -1 +0,0 @@
24