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

Compare commits

..

5 Commits

Author SHA1 Message Date
lFesselier
394f89fcc1 Merge 563d1318de into 0c366fd6a8 2026-01-10 01:41:19 +05:30
eric sciple
0c366fd6a8 Update changelog (#2357) 2026-01-09 14:09:42 -06:00
lFesselier
563d1318de fix nvmrc 2026-01-05 14:31:31 +01:00
lFesselier
d9f6b7b1f9 modiy master main 2026-01-05 14:27:43 +01:00
lFesselier
ec453d466b Ajout du workflow CI TP et du fichier .nvmrc 2026-01-05 14:22:30 +01:00
3 changed files with 42 additions and 0 deletions

35
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,35 @@
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 Normal file
View File

@@ -0,0 +1 @@
24

View File

@@ -1,5 +1,11 @@
# Changelog
## v6.0.2
* Fix tag handling: preserve annotations and explicit fetch-tags by @ericsciple in https://github.com/actions/checkout/pull/2356
## v6.0.1
* Add worktree support for persist-credentials includeIf by @ericsciple in https://github.com/actions/checkout/pull/2327
## v6.0.0
* Persist creds to a separate file by @ericsciple in https://github.com/actions/checkout/pull/2286
* Update README to include Node.js 24 support details and requirements by @salmanmkc in https://github.com/actions/checkout/pull/2248