Skip to content

Trap uncaught exceptions when running the REST API from the bin/www f… #511

Trap uncaught exceptions when running the REST API from the bin/www f…

Trap uncaught exceptions when running the REST API from the bin/www f… #511

Workflow file for this run

name: run static checks
on:
push:
branches: [master, develop]
pull_request:
workflow_dispatch:
jobs:
build:
name: static-checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm install
- run: npm run lint
- run: npm run snyk
- run: npm run coverage:cobertura
- name: Upload Coverage to CodeCov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_SECRET }}
files: coverage/cobertura-coverage.xml
verbose: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}