From 3a2433a1561d3d5824910725c2b45ae1cdb18307 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Wed, 1 Jun 2022 11:30:59 +0200 Subject: [PATCH] chg: [workflow] because npm is something from Mars --- .github/workflows/honkit.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/honkit.yml b/.github/workflows/honkit.yml index 5e8e501..8ec2d23 100644 --- a/.github/workflows/honkit.yml +++ b/.github/workflows/honkit.yml @@ -10,7 +10,20 @@ jobs: steps: - name: Install honkit run: | - sudo apt install nodejs npm - npm init --yes - npm install honkit --save-dev + sudo apt-get -y install libgif-dev calibre npm nodejs + sudo npm config set strict-ssl false + sudo npm cache clean -f + sudo npm install -g n + sudo n stable + sudo npm update -g + npm install honkit --save-dev + npm install gitbook-plugin-github + npm install gitbook-plugin-atoc + npm install gitbook-plugin-anchors + npm install gitbook-plugin-image-class + npm install gitbook-plugin-codesnippet + npm install gitbook-plugin-last-modified + npm install gitbook-plugin-sitemap + npm install gitbook-plugin-advanced-emoji + npm install gitbook-plugin-image-class npx honkit build