Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
replete committed Jun 26, 2024
1 parent ba73d69 commit 289e57f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -62,3 +60,4 @@ jobs:
run: npm test
env:
NODE_EXTRA_CA_CERTS: ${{ env.NODE_EXTRA_CA_CERTS }}
NODE_OPTIONS: --use-openssl-ca

0 comments on commit 289e57f

Please sign in to comment.