Skip to content

Merge pull request #353 from center-for-threat-informed-defense/develop #549

Merge pull request #353 from center-for-threat-informed-defense/develop

Merge pull request #353 from center-for-threat-informed-defense/develop #549

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@v4
- uses: actions/setup-node@v4
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@v4
with:
token: ${{ secrets.CODECOV_SECRET }}
files: coverage/cobertura-coverage.xml
verbose: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}