Skip to content

env in command, hardcoded for workdir #15

env in command, hardcoded for workdir

env in command, hardcoded for workdir #15

Workflow file for this run

name: Test
on: push
jobs:
run-tests:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
- run: wget https://dl.filippo.io/mkcert/latest?for=linux/amd64 -O mkcert
- run: chmod +x mkcert
- run: cp mkcert /usr/local/bin
- run: mkdir -p $HOME/.simulacrum/certs
- run: export NODE_EXTRA_CA_CERTS="$(mkcert -CAROOT)/rootCA.pem"
- run: mkcert -install && mkcert localhost
working-directory: /home/runner/.simulacrum/certs
- name: Install Node.js dependencies
run: npm ci
- run: npm run build
- run: npm test