Skip to content

Commit 415f0e2

Browse files
committed
Activation du déclenchement manuel des workflows
1 parent 8ae3b6e commit 415f0e2

2 files changed

Lines changed: 6 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,15 @@ on:
44
branches: [ "**" ]
55
pull_request:
66
branches: [ "**" ]
7+
workflow_dispatch: # <-- Cette ligne permet le déclenchement manuel
78

89
jobs:
910
build:
1011
runs-on: ubuntu-latest
1112
steps:
1213
- uses: actions/checkout@v4
13-
14-
- name: Setup Node
15-
uses: actions/setup-node@v3
14+
- uses: actions/setup-node@v3
1615
with:
1716
node-version: 20
18-
19-
- name: Install dependencies
20-
run: npm install
21-
22-
- name: Build
23-
run: npm run build
17+
- run: npm install
18+
- run: npm test

.github/workflows/lighthouse.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Lighthouse
22
on:
33
pull_request:
44
branches: [ gh-pages ]
5+
workflow_dispatch: # <-- Ajoutez cette ligne
56

67
jobs:
78
audit:
@@ -10,7 +11,4 @@ jobs:
1011
- uses: actions/checkout@v4
1112
- uses: treosh/lighthouse-ci-action@v9
1213
with:
13-
urls: |
14-
https://davidkrk.github.io/
15-
https://davidkrk.github.io/music.html
16-
uploadArtifacts: true
14+
urls: https://davidkrk.github.io/

0 commit comments

Comments
 (0)