# Install the fonts we need for the covers. if [ "x$CI" == "x" ] then echo "not in CI environment, not installing fonts" else echo "installing fonts" mkdir -p ~/.local/share/fonts cp $(nix-build --no-out-link '' -A source-serif-pro)/share/fonts/opentype/*.otf ~/.local/share/fonts cp $(nix-build --no-out-link '' -A source-sans-pro)/share/fonts/opentype/*.otf ~/.local/share/fonts fc-cache fc-list | grep -i source fi echo "installing node packages" npm install --ci