From c2321361967593098e1c22309b6bd049e4a63e81 Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Sat, 19 Feb 2022 18:23:32 +0000 Subject: [PATCH] Update docs github actions to Node 17 --- .github/workflows/docs.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index a8274c6b..8f7482ff 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -16,9 +16,11 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: '12.x' + node-version: '17.x' - name: Test Build working-directory: ./docs + env: + NODE_OPTIONS: --openssl-legacy-provider run: | if [ -e yarn.lock ]; then yarn install --frozen-lockfile @@ -35,10 +37,11 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: '12.x' + node-version: '17.x' - name: Add key to allow access to repository env: SSH_AUTH_SOCK: /tmp/ssh_agent.sock + NODE_OPTIONS: --openssl-legacy-provider run: | mkdir -p ~/.ssh ssh-keyscan github.com >> ~/.ssh/known_hosts