undergroundwires/privacy.sexy

View on GitHub
.github/workflows/tests.unit.yaml

Summary

Maintainability
Test Coverage
name: unit-tests

on:
  push:
  pull_request:

jobs:
  run-tests:
    strategy:
      matrix:
        os: [macos, ubuntu, windows]
      fail-fast: false # So it still runs on other OSes if one of them fails
    runs-on: ${{ matrix.os }}-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v4
      -
        name: Set-up node
        uses: ./.github/actions/setup-node
      -
        name: Install dependencies
        uses: ./.github/actions/npm-install-dependencies
      -
        name: Run unit tests
        run: npm run test:unit