sokko-g/.forgejo/workflows/validate-main.yml
Shinuwa a767616db4
Some checks failed
Validate Sokko G / validate (push) Failing after 13m41s
Run Playwright validation in a supported container
2026-10-23 17:47:34 +02:00

34 lines
927 B
YAML

# 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
container: "mcr.microsoft.com/playwright:v1.62.1-noble@sha256:dcc5531e97840b9b5e794f2814476b21571c5124a3fca2267d73041f56e7580e"
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: Run the complete validation gate
run: npm run check:full