From 53aaf55f9f67f57f331843c496754e2cc4980732 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 29 Nov 2022 11:58:29 -0500 Subject: [PATCH] ci: Configure docs build workflow to use legacy OpenSSL provider (#9782) (#9788) I see our docs build is failing: https://github.com/tendermint/tendermint/actions/runs/3570216583/jobs/6000981820 The cause seems related to [this issue](https://stackoverflow.com/questions/70582072/npm-run-fails-with-err-ossl-evp-unsupported). Running this workflow manually with this fix solves it: https://github.com/tendermint/tendermint/actions/runs/3570298021 The longer-term solution is to get away from using NodeJS entirely in our docs build process. --- #### PR checklist - [x] Tests written/updated, or no tests needed - [x] `CHANGELOG_PENDING.md` updated, or no changelog entry needed - [x] Updated relevant documentation (`docs/`) and code comments, or no documentation updates needed (cherry picked from commit 0cbecba3d61484c4dd71b3a87f6652c3ceeb52de) Co-authored-by: Thane Thomson --- .github/workflows/docs-deployment.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docs-deployment.yml b/.github/workflows/docs-deployment.yml index 75bf089c5..51a145c0a 100644 --- a/.github/workflows/docs-deployment.yml +++ b/.github/workflows/docs-deployment.yml @@ -35,6 +35,8 @@ jobs: # versions will be available for the build. fetch-depth: 0 - name: Build documentation + env: + NODE_OPTIONS: "--openssl-legacy-provider" run: | git config --global --add safe.directory "$PWD" make build-docs