Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
2dfb0f277f | |||
ecb35f8efc | |||
cc78d173b7 | |||
72830cce0b | |||
f540188dce | |||
098ef61c27 |
@ -1,4 +1,4 @@
|
||||
FROM node:lts-alpine3.13@sha256:7021600941a9caa072c592b6a89cec80e46cb341d934f1868220f5786f236f60
|
||||
FROM node:lts-alpine3.13@sha256:efadbdd1ef5f84a93729185767b132606f211a98921d2f30464550a6e5f62437
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
@ -13,7 +13,7 @@ ARG YQ_VERSION
|
||||
# renovate: datasource=npm depName=@lhci/cli
|
||||
ENV LHCI_VERSION="${BUILD_VERSION:-0.7.2}"
|
||||
# renovate: datasource=github-releases depName=mikefarah/yq
|
||||
ENV YQ_VERSION="${YQ_VERSION:-v4.8.0}"
|
||||
ENV YQ_VERSION="${YQ_VERSION:-v4.9.2}"
|
||||
|
||||
ENV LHCI_BASE_DIR=/drone/src \
|
||||
FORCE_COLOR=true \
|
||||
|
@ -38,7 +38,7 @@ if [ -f "$CONFIG" ] && echo "$OUT" | grep -q "Done running Lighthouse"; then
|
||||
cp "${FILENAME}" "${DIST}/${FILENAME_NEW}.html"
|
||||
echo "Report for ${URL} will be uploaded to ${DOWNLOAD}"
|
||||
|
||||
echo "| [Link]("${DOWNLOAD}") | \`${URL}\` | $(echo "scale=0;($PERF*100)/1" | bc) % | $(echo "scale=0;($ACCESS*100)/1" | bc) % | $(echo "scale=0;($PRACTICE*100)/1" | bc) % | $(echo "scale=0;($SEO*100)/1" | bc) % | $(echo "scale=0;($PWA*100)/1" | bc) % |" >> "${DIST}/summary.md"
|
||||
echo "| [Link](${DOWNLOAD}) | \`${URL}\` | $(echo "scale=0;($PERF*100)/1" | bc) % | $(echo "scale=0;($ACCESS*100)/1" | bc) % | $(echo "scale=0;($PRACTICE*100)/1" | bc) % | $(echo "scale=0;($SEO*100)/1" | bc) % | $(echo "scale=0;($PWA*100)/1" | bc) % |" >>"${DIST}/summary.md"
|
||||
done
|
||||
else
|
||||
printf "\nPost-processing skipped. Manifest not found!\n"
|
||||
|
Loading…
Reference in New Issue
Block a user