Skip to content

[Snyk] Security upgrade got from 11.8.5 to 12.6.0 #1092

[Snyk] Security upgrade got from 11.8.5 to 12.6.0

[Snyk] Security upgrade got from 11.8.5 to 12.6.0 #1092

name: Pull Request Check
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
check:
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12, 14, 16]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- name: Install
run: npm ci --loglevel=error
env:
DISABLE_OPENCOLLECTIVE: true
- name: Run linter
run: npm run eslint
- name: Run tests
run: npm test -- --ci --runInBand
env:
CI: true
- name: Report coverage
run: npx codecov
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}