diff --git a/.woodpecker.yml b/.woodpecker.yml index 47a4044..b3bc1ab 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,8 +1,10 @@ pipeline: dependencies: - image: gitnet.fr/deblan/devenv + image: node:16 + pull: true commands: - - make dep + - npm i + - npm link @nextcloud/vue when: event: [tag, push, pull_request] branch: [master, develop, feature/*, translations] @@ -14,9 +16,9 @@ pipeline: failure: ignore build: - image: gitnet.fr/deblan/devenv + image: node:16 commands: - - make build + - npm run build when: branch: [master, develop, feature/*, translations] event: [push, pull_request] @@ -37,11 +39,13 @@ pipeline: event: [pull_request] package: - image: gitnet.fr/deblan/devenv + image: deblan/php:8.0 volumes: - /var/www/html/artifacts:/var/www/html/artifacts secrets: [app_certificate] commands: + - apt-get update + - apt-get install -y zip make - mkdir -p "$HOME/.nextcloud/certificates" - echo "$APP_CERTIFICATE" > "$HOME/.nextcloud/certificates/side_menu.key" - export VERSION=$(grep "" appinfo/info.xml | grep -o "[0-9]*\.[0-9]*\.[0-9]*" --color=never)