Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/self-hosted-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Self-Hosted CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Ajout d'un déclencheur manuel pour faciliter les tests
workflow_dispatch:

jobs:
build-and-test:
# Spécifie d'utiliser votre runner auto-hébergé au lieu des runners GitHub
runs-on: self-hosted

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Log Node.js version
run: node --version

- name: Log available disk space
run: |
echo "Checking available disk space:"
df -h

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test -- --watch=false --browsers=ChromeHeadless --no-progress
Loading