Skip to content

chore: npm audit fixes, pinned versions #306

chore: npm audit fixes, pinned versions

chore: npm audit fixes, pinned versions #306

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [lts/*]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Check npm audit
run: npm audit --omit=dev --audit-level=low
- name: Install dependencies
run: npm ci
- name: Check code style
run: npm run lint
- name: Build Project
run: npm run build