Add a verified exact-commit deployment pipeline
Some checks failed
Validate Sokko G / validate (push) Failing after 6m43s
Some checks failed
Validate Sokko G / validate (push) Failing after 6m43s
This commit is contained in:
parent
ca39b76282
commit
daef542474
10 changed files with 525 additions and 24 deletions
36
.forgejo/workflows/validate-main.yml
Normal file
36
.forgejo/workflows/validate-main.yml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Rôle : exécute la validation complète de chaque commit poussé sur main.
|
||||
name: Validate Sokko G
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
- name: Check out the pushed commit
|
||||
uses: https://data.forgejo.org/actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ gitea.sha }}
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up the pinned Node version
|
||||
uses: https://data.forgejo.org/actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24.11.1
|
||||
cache: npm
|
||||
|
||||
- name: Set up the pinned npm version
|
||||
run: npm install --global npm@11.17.0
|
||||
|
||||
- name: Install dependencies from the lockfile
|
||||
run: npm ci
|
||||
|
||||
- name: Install the Chromium test runtime
|
||||
run: npx playwright install --with-deps chromium
|
||||
|
||||
- name: Run the complete validation gate
|
||||
run: npm run check:full
|
||||
Loading…
Add table
Add a link
Reference in a new issue