Skip to content

Version bump

Version bump #276

Workflow file for this run

name: Test suite
on:
push:
branches: [ main ]
pull_request:
branches: [ main, develop, dependabot ]
workflow_dispatch:
env:
TEST_SIGNING_URL: "http://127.0.0.1:5000/sign"
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18, 20 ]
name: Node.js ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install mkcert
run: |
sudo apt-get update
sudo apt install wget libnss3-tools
curl -s https://api.github.com/repos/FiloSottile/mkcert/releases/latest | grep browser_download_url | grep linux-amd64 | cut -d '"' -f 4 | wget -qi -
mv mkcert-v*-linux-amd64 mkcert
chmod a+x mkcert
sudo mv mkcert /usr/local/bin/
- name: Install dependencies
run: npm install
- name: Run signer
run: |
cd .services/signer/
bash ./run.sh &
sleep 5
- name: Run tests
run: npm run test