env in command, hardcoded for workdir #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |