From 457d945928fb12298837aa1cb9574dc7a967cd99 Mon Sep 17 00:00:00 2001 From: Phil Ricketts <812139+replete@users.noreply.github.com> Date: Wed, 26 Jun 2024 01:33:03 +0100 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index de367c0..0881182 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,7 +26,9 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + - run: npm ci + - name: Install mkcert run: | sudo apt-get install libnss3-tools @@ -34,9 +36,11 @@ jobs: chmod +x mkcert sudo mv mkcert /usr/local/bin/ - - name: Set up local CA and generate certificates - run: | - mkcert -install + - name: Set up local CA and generate certificates + run: | + mkcert -install + mkcert -key-file server.key -cert-file server.crt localhost 127.0.0.1 ::1 + - run: npm run makecerts - run: npm run build --if-present - run: npm test