Tweak npm scripts

* add `--strict` in the mkdocs build like on CI
* add a `start` script to run serve (can be used with `npm start`)
* move `build` to `pretest`

As a result, build runs once on CI now
This commit is contained in:
XhmikosR
2025-03-02 09:22:14 +02:00
parent 69acdf83a5
commit d87d388443
2 changed files with 6 additions and 7 deletions

View File

@@ -40,8 +40,5 @@ jobs:
- name: Install npm dependencies
run: npm ci
- name: Build docs
run: mkdocs build --strict
- name: Test
- name: Build and test
run: npm test