docs(ops): document deployment, CI, monitoring and backups
Four independent procedures, each opening with the failure it prevents — most of them ones this project actually hit: a front-end older than its API after a partial upload, a broken card move that no test ran before it shipped, an evening spent asking whether the site was down, and a database that came back empty after a rebuild. The CI workflow ships with them. It leaves out `format:check`, which would fail on CRLF files that predate the Prettier configuration; normalising them deserves a commit of its own. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
1c21f6ff53
commit
1643fcb591
5 files changed
+329
No files matched your search
@@ -0,0 +1,35 @@
|
||||
name: CI
|
||||
|
||||
# Lint and tests on every push and every pull request. `format:check` is
|
||||
# deliberately absent: the repository still holds CRLF files that predate the
|
||||
# Prettier configuration, so the step would fail on untouched code. Normalise
|
||||
# the line endings in a commit of their own, then add it here.
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
quality:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
cache: npm
|
||||
|
||||
- name: Installer les dépendances
|
||||
run: npm ci
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
|
||||
- name: Tests
|
||||
run: npm test
|
||||
|
||||
# The changelog is generated from the commit history, so a stale one is
|
||||
# a real defect rather than a formatting detail.
|
||||
- name: Changelog à jour
|
||||
run: npm run changelog:check
|
||||
Reference in new issue
Block a user