Skip to content

Commit

Permalink
Added unlighthouse-ci command
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjol committed Aug 27, 2024
1 parent 36d0c4a commit 174c043
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions commands/unlighthouse/unlighthouse-ci
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit 174c043

Please sign in to comment.