3 ms·
Interesting, I helped someone with this recently. I did it with a github action and an open-source link checker, something like this: run: | yarn export:
by hiatus 3y ago
Interesting, I helped someone with this recently. I did it with a github action and an open-source link checker, something like this:
run: |
yarn export:start &
sleep 5
wget https://github.com/filiph/linkcheck/releases/download/3.0.0/linkcheck-3.0.0-linux-x64.tar.gz && tar xvf linkcheck-3.0.0-linux-x64.tar.gz
linkcheck/linkcheck -d -e --skip-file .skip :3111 || export RETURN=$?
killall node
if [[ "$RETURN" -eq "0" ]]; then
exit;
else
exit "$RETURN"
fi