diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 2f561e19f1..933c640c3b 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -24,6 +24,13 @@ jobs: persist-credentials: false fetch-depth: 0 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: "16.x" + + # npm install npm should be removed when https://github.com/npm/cli/issues/4942 is fixed - name: Build docs run: | + npm install -g npm@8.5.5 make build-docs diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index b6c9f05712..6ca6ea9367 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -32,8 +32,10 @@ jobs: with: node-version: "16.x" + # npm install npm should be removed when https://github.com/npm/cli/issues/4942 is fixed - name: Build 🔧 run: | + npm install -g npm@8.5.5 make build-docs - name: Deploy 🚀