forked from deblan/side_menu
reduce release task as packaging (ci)
move translation build in specific step (ci)
This commit is contained in:
parent
fc5a6a4c64
commit
112e669723
|
@ -15,7 +15,7 @@ pipeline:
|
||||||
- osv-detector package-lock.json
|
- osv-detector package-lock.json
|
||||||
failure: ignore
|
failure: ignore
|
||||||
|
|
||||||
build:
|
build_js:
|
||||||
image: node:16
|
image: node:16
|
||||||
commands:
|
commands:
|
||||||
- npm run build
|
- npm run build
|
||||||
|
@ -23,6 +23,14 @@ pipeline:
|
||||||
branch: [master, develop, feature/*, translations]
|
branch: [master, develop, feature/*, translations]
|
||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
|
|
||||||
|
build_php:
|
||||||
|
image: deblan/php:8.0
|
||||||
|
commands:
|
||||||
|
- php bin/generate_l10n.php
|
||||||
|
when:
|
||||||
|
branch: [master, develop, feature/*, translations]
|
||||||
|
event: [push, pull_request]
|
||||||
|
|
||||||
code_quality:
|
code_quality:
|
||||||
image: sonarsource/sonar-scanner-cli
|
image: sonarsource/sonar-scanner-cli
|
||||||
secrets: [sonar_token, sonar_host, sonar_project]
|
secrets: [sonar_token, sonar_host, sonar_project]
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -9,7 +9,7 @@ dep:
|
||||||
npm link @nextcloud/vue || sudo npm link @nextcloud/vue
|
npm link @nextcloud/vue || sudo npm link @nextcloud/vue
|
||||||
|
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
release: build translations
|
release:
|
||||||
if [ -z "$$VERSION" ]; then
|
if [ -z "$$VERSION" ]; then
|
||||||
echo "VERSION required"
|
echo "VERSION required"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue