Skip to content

Fix security vulnerabilities #61

Fix security vulnerabilities

Fix security vulnerabilities #61

name: CI
on:
push:
branches: [dev,master]
pull_request:
branches: [dev,master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [15.x]
mongodb-version: [6.0]
steps:
- name: Checking Repository
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-port: 27017
- name: Cloning Sugarizer Repository
run: git clone https://github.com/llaske/sugarizer.git ../sugarizer
- name: Running Clean Install
run: npm ci
- name: Running Eslint
run: npm run lint
- name: Unit Testing
run: npm run test