chg: [workflow] because npm is something from Mars

pull/284/head
Alexandre Dulaunoy 2022-06-01 11:30:59 +02:00
parent 9d6967a157
commit fe22935af2
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 16 additions and 3 deletions

View File

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