We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85d234f commit 8bbbf3bCopy full SHA for 8bbbf3b
.github/workflows/self-hosted-ci.yml
@@ -0,0 +1,32 @@
1
+name: Self-Hosted CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
+ # Ajout d'un déclencheur manuel pour faciliter les tests
9
+ workflow_dispatch:
10
11
+jobs:
12
+ build-and-test:
13
+ # Spécifie d'utiliser votre runner auto-hébergé au lieu des runners GitHub
14
+ runs-on: self-hosted
15
16
+ steps:
17
+ - name: Checkout repository
18
+ uses: actions/checkout@v3
19
20
+ - name: Log Node.js version
21
+ run: node --version
22
23
+ - name: Log available disk space
24
+ run: |
25
+ echo "Checking available disk space:"
26
+ df -h
27
28
+ - name: Install dependencies
29
+ run: npm ci
30
31
+ - name: Run tests
32
+ run: npm test -- --watch=false --browsers=ChromeHeadless --no-progress
0 commit comments