From 174c043b76a3294c6cc63483babf3cd4e59b65e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20L=C3=B3pez?= Date: Tue, 27 Aug 2024 16:00:21 +0200 Subject: [PATCH] Added unlighthouse-ci command --- commands/unlighthouse/unlighthouse-ci | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 commands/unlighthouse/unlighthouse-ci diff --git a/commands/unlighthouse/unlighthouse-ci b/commands/unlighthouse/unlighthouse-ci new file mode 100755 index 0000000..59d1f74 --- /dev/null +++ b/commands/unlighthouse/unlighthouse-ci @@ -0,0 +1,13 @@ +#!/bin/bash +#ddev-generated + +## Description: Run unlighthouse-ci and prepare reports +## Usage: unlighthouse-ci +## Example: "ddev unlighthouse-ci" +## ExecRaw: true +# export NODE_TLS_REJECT_UNAUTHORIZED='0' + +FOLDER=${1:-'local'} +FILE=${2:-'unlighthouse.ts'} + +unlighthouse-ci --config-file=./config/$FOLDER/$FILE --output-path=./export/$FOLDER ${@:3} \ No newline at end of file