Skip to content

[Snyk] Fix for 9 vulnerabilities #602

[Snyk] Fix for 9 vulnerabilities

[Snyk] Fix for 9 vulnerabilities #602

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
- uses: codecov/codecov-action@v3
with:
files: coverage/lcov.info
name: lts ${{ matrix.os }}
fail_ci_if_error: true
verbose: true