Skip to content

tracking unexpected errors #665

tracking unexpected errors

tracking unexpected errors #665

Workflow file for this run

name: Unit Tests
on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install modules
run: npm install
- name: Run unit tests
run: npm run test:unit
env:
JWT_TOKEN_LOGIN: ploki
JWT_TOKEN: abcdef
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
flags: unittests # optional
fail_ci_if_error: true # optional (default = false)
directory: coverage