From 8ae1bd1149c6331ce074c3bdbb28e89bda9cd2a5 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Tue, 13 Apr 2021 20:42:05 +0200 Subject: [PATCH] drone: parallel php-7.4/node-10 pipelines --- .drone.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7f8d23b3c..5bc8d4ad3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,7 +29,7 @@ steps: kind: pipeline type: docker -name: php-7.4-node +name: php-7.4 clone: disable: true @@ -46,9 +46,20 @@ steps: - make code_sniffer - make all_tests +--- + +kind: pipeline +type: docker +name: node-10 + +clone: + disable: true +steps: - name: test-node-10 image: node:10 commands: + - git clone --depth=50 --branch=$DRONE_BRANCH https://github.com/nodiscc/Shaarli.git . + - git checkout $DRONE_COMMIT - yarn install - yarn run build # verify successful frontend builds - make eslint # javascript static analysis