refactorint ci steps

use gitnet.fr/deblan/woodpecker-cache to generate cache
This commit is contained in:
Simon Vieille
2024-02-21 11:16:56 +01:00
parent 56904c5aa0
commit 45d4e5f24c
4 changed files with 100 additions and 103 deletions
+28
View File
@@ -0,0 +1,28 @@
variables:
volumes: &volumes
- /data/${CI_REPO}:/builds
when:
event: [tag, push, pull_request, manual]
branch: [master, develop, feature/*, fix/*, bugfix/*, translations]
steps:
"Install dependencies":
image: node:16
pull: true
commands:
- npm i
"Build JS":
image: node:16
commands:
- npm run build
"Build translations":
image: deblan/php:8.0
commands:
- php bin/generate_l10n.php
"Build cache":
image: gitnet.fr/deblan/woodpecker-cache
volumes: *volumes