mirror of
https://github.com/actions/checkout.git
synced 2026-07-11 19:23:49 +08:00
Compare commits
5 Commits
v6.0.2
...
394f89fcc1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
394f89fcc1 | ||
|
|
0c366fd6a8 | ||
|
|
563d1318de | ||
|
|
d9f6b7b1f9 | ||
|
|
ec453d466b |
35
.github/workflows/ci.yaml
vendored
Normal file
35
.github/workflows/ci.yaml
vendored
Normal 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,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
|
||||
|
||||
Reference in New Issue
Block a user