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 326c68a commit 457d945
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,21 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: npm ci

- name: Install mkcert
run: |
sudo apt-get install libnss3-tools
wget https://dl.filippo.io/mkcert/latest?for=linux/amd64 -O mkcert
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

0 comments on commit 457d945

Please sign in to comment.