diff --git a/.github/workflows/dev_ci.yml b/.github/workflows/dev_ci.yml
index 308be80..daa0d42 100644
--- a/.github/workflows/dev_ci.yml
+++ b/.github/workflows/dev_ci.yml
@@ -4,22 +4,22 @@ on:
push:
branches: ["dev"]
- workflow_dispatch:
+ workflow_dispatch: # Permet de déclencher manuellement le workflow via l'interface GitHub
permissions:
contents: read
concurrency:
- group: "pages"
+ group: "pages" # Groupe de concurrence pour éviter des exécutions multiples en même temps
cancel-in-progress: false
jobs:
security-and-tests:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-latest # Exécute le workflow sur la dernière version d'Ubuntu
steps:
- name: Checkout code
- uses: actions/checkout@v4
+ uses: actions/checkout@v4 # Récupère le code source du dépôt
- name: Setup Node
uses: actions/setup-node@v4
@@ -35,11 +35,11 @@ jobs:
- name: Depencies audit
run: npm audit --audit-level=moderate
- #- name: Run Unit Tests
- # run: npx jest --coverage
+ # - name: Run Unit Tests
+ # run: npx jest --coverage # (commenté) Exécute les tests unitaires avec Jest et génère un rapport de couverture
- name: Build application
- run: npm run build
+ run: npm run build # Compile l'application
env:
NEXT_PUBLIC_GITHUB_BEARER_TOKEN: ${{ secrets.NEXT_PUBLIC_GITHUB_BEARER_TOKEN }}
NEXT_PUBLIC_APIKEY: ${{ secrets.NEXT_PUBLIC_APIKEY }}
diff --git a/app/[locale]/error/page.tsx b/app/error/page.tsx
similarity index 100%
rename from app/[locale]/error/page.tsx
rename to app/error/page.tsx
diff --git a/app/[locale]/fonts/GeistMonoVF.woff b/app/fonts/GeistMonoVF.woff
similarity index 100%
rename from app/[locale]/fonts/GeistMonoVF.woff
rename to app/fonts/GeistMonoVF.woff
diff --git a/app/[locale]/fonts/GeistVF.woff b/app/fonts/GeistVF.woff
similarity index 100%
rename from app/[locale]/fonts/GeistVF.woff
rename to app/fonts/GeistVF.woff
diff --git a/app/index.html b/app/index.html
deleted file mode 100644
index 4809cbd..0000000
--- a/app/index.html
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
diff --git a/app/[locale]/not-found.tsx b/app/not-found.tsx
similarity index 100%
rename from app/[locale]/not-found.tsx
rename to app/not-found.tsx