Skip to content

[Snyk] Upgrade mongodb-memory-server from 8.11.3 to 8.16.0 #1002

[Snyk] Upgrade mongodb-memory-server from 8.11.3 to 8.16.0

[Snyk] Upgrade mongodb-memory-server from 8.11.3 to 8.16.0 #1002

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
ci:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Install Node 12
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 12
# Install dependencies
- name: Install package front
working-directory: ./front
run: npm install
- name: npm run cover front
working-directory: ./front
run: npm run cover
- name: Cypress.io
# You may pin to the exact commit or the version.
# uses: cypress-io/github-action@ca3f666049f4ac2267a75de769535a7cbdc7bfd7
uses: cypress-io/github-action@v5.0.8
with:
install: false
working-directory: ./front
wait-on: 'http://localhost:9002'
start: npm run start:test
env:
TZ: Europe/Paris
- name: Install package back
working-directory: ./back
run: npm install
- name: npm run cover back
working-directory: ./back
run: npm run test:cov