diff --git a/.woodpecker.yml b/.woodpecker.yml index b4ecc4f..dd9db2e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -15,7 +15,7 @@ pipeline: - osv-detector package-lock.json failure: ignore - build: + build_js: image: node:16 commands: - npm run build @@ -23,6 +23,14 @@ pipeline: branch: [master, develop, feature/*, translations] 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: image: sonarsource/sonar-scanner-cli secrets: [sonar_token, sonar_host, sonar_project] diff --git a/Makefile b/Makefile index 783bb6a..e5b6267 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ dep: npm link @nextcloud/vue || sudo npm link @nextcloud/vue .ONESHELL: -release: build translations +release: if [ -z "$$VERSION" ]; then echo "VERSION required" exit 1