alliance-boreale/.forgejo/workflows/ci.yml
Dan Allaire 5cee1f145e
Some checks are pending
CI / yaml-lint (push) Waiting to run
CI / ssot-export (push) Waiting to run
CI / tests (push) Waiting to run
CI / docs (push) Waiting to run
gov/docs: constitution + règles de contribution/sécurité + CODEOWNERS + CI
2025-10-18 22:32:55 -04:00

35 lines
899 B
YAML

name: CI
on:
push: { branches: ["main"] }
pull_request:
jobs:
yaml-lint:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: yamllint
uses: ibiqlik/action-yamllint@v3
ssot-export:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '20' }
- run: cd configure && npm ci || npm i
- run: node configure/export.mjs
tests:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '20' }
- run: cd configure && npm ci || npm i
- run: node configure/tests/test.mjs
docs:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: { python-version: '3.11' }
- run: pip install mkdocs
- run: mkdocs build --strict