www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 716a62797d22d0b7264d1a8a9b08f771516cc3da
parent 3ca9d3e93f28607c2322a6472c20719a1a90e6d5
Author: Suzanne Soy <jsmaniac.github@suzanne.soy>
Date:   Mon, 12 Jul 2021 01:22:10 +0100

nvm stuff

Diffstat:
M.github/workflows/ci.yml | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -125,12 +125,18 @@ jobs: find doc -name '*.html' -type f -print0 | xargs -0 ls -ld - name: Render MathJax offline run: | + # Install nvm and node: curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash - nvm install node + export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + # Install node nvm install v8.1 # works with v8.1.4 + # Install mathjax-node npm install mathjax-node + # Patch mathjax-node patch -p1 < qaligned.patch patch -p1 < MathJax-bfit.patch + # Run mathjax offline node < run-mathjax-offline.node.js mv doc/phc-thesis/index2.html doc/phc-thesis/index.html - name: Create .zip archive