Compare commits

..

1 Commits

Author SHA1 Message Date
Renovate Bot 8f23e6ae7d
Add renovate.json 2021-01-16 04:33:52 +00:00
3 changed files with 14 additions and 6 deletions

View File

@ -2,9 +2,12 @@ FROM node:lts-alpine
LABEL maintainer="lizheming <i@imnerd.org>"
RUN apk upgrade --no-cache && apk add --no-cache bash
RUN npm install -g coveralls
ENV ROOT /usr/src/app
WORKDIR ${ROOT}
ADD ./entrypoint.sh /bin
RUN chmod +x /bin/entrypoint.sh
RUN npm install coveralls
ENTRYPOINT ["entrypoint.sh"]
ADD ./entrypoint.sh .
RUN chmod +x ./entrypoint.sh
ENTRYPOINT ["/usr/src/app/entrypoint.sh"]

View File

@ -21,7 +21,7 @@ for file in $(echo $files | tr -d '[[:space:]]' | tr "," "\n"); do
vfiles="$vfiles -f $PWD/$file"
echo "-- Sending $file to Coveralls.io --"
eval 'cat $PWD/$file | coveralls'
eval 'cat $PWD/$file | ./node_modules/coveralls/bin/coveralls.js'
fi
done
@ -59,4 +59,4 @@ if [[ $exitcode -eq 0 ]]; then
echo "-- Coverage successfully pushed to Coveralls!"
else
echo "-- Coverage failed to push to Coveralls!"
fi
fi

5
renovate.json Normal file
View File

@ -0,0 +1,5 @@
{
"extends": [
"config:base"
]
}