os-js/osjs-server

View on GitHub
.github/workflows/test.yml

Summary

Maintainability
Test Coverage
name: Unit tests
on:
  push:
    branches:
      - master
  pull_request:
jobs:
  test:
    runs-on: ubuntu-latest
    name: Unit tests (node ${{ matrix.node }})
    strategy:
      matrix:
        node: [ '14', '12' ]
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node }}
    - run: npm ci
    - run: npm run jest