From e9bd3f141fd5ef3aed19334755a72f195219ef31 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Wed, 1 Jun 2022 16:12:27 +0200 Subject: [PATCH] chg: [workflow] use node_modules honkit --- .github/workflows/honkit.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/honkit.yml b/.github/workflows/honkit.yml index 3a1ca46..42ac197 100644 --- a/.github/workflows/honkit.yml +++ b/.github/workflows/honkit.yml @@ -10,13 +10,10 @@ jobs: steps: - name: Install honkit run: | - sudo apt-get -y install libgif-dev calibre npm nodejs + sudo apt -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 honkit npm install gitbook-plugin-github npm install gitbook-plugin-atoc npm install gitbook-plugin-anchors @@ -26,4 +23,4 @@ jobs: npm install gitbook-plugin-sitemap npm install gitbook-plugin-advanced-emoji npm install gitbook-plugin-image-class - npx honkit build + ./node_modules/.bin/honkit build