chg: [workflow] use node_modules honkit

pull/279/head
Steve Clement 2022-06-01 16:12:27 +02:00
parent c63ae03ba8
commit e9bd3f141f
No known key found for this signature in database
GPG Key ID: 69A20F509BE4AEE9
1 changed files with 3 additions and 6 deletions

View File

@ -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