From 289e57f6695d4d5d82d03240bbed813e094e7405 Mon Sep 17 00:00:00 2001 From: Phil Ricketts <812139+replete@users.noreply.github.com> Date: Wed, 26 Jun 2024 02:24:55 +0100 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7bd50ed..539fc63 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -48,10 +48,8 @@ jobs: - name: Verify CA installation run: | - ls -l /usr/local/share/ca-certificates/ - ls -l /etc/ssl/certs/ cat /etc/ssl/certs/ca-certificates.crt | grep "$(mkcert -CAROOT)/rootCA.pem" - + - name: Export NODE_EXTRA_CA_CERTS run: echo "NODE_EXTRA_CA_CERTS=$(mkcert -CAROOT)/rootCA.pem" >> $GITHUB_ENV @@ -62,3 +60,4 @@ jobs: run: npm test env: NODE_EXTRA_CA_CERTS: ${{ env.NODE_EXTRA_CA_CERTS }} + NODE_OPTIONS: --use-openssl-ca