Skip to content

✅ cronjobs and tasks tests #208

✅ cronjobs and tasks tests

✅ cronjobs and tasks tests #208

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.branch }}
jobs:
unit-tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run unit tests
run: npm run coverage
- name: Upload coverage report or add comment
uses: coverallsapp/github-action@v2