Skip to content

Merge pull request #1339 from LeChatErrant/dependabot/npm_and_yarn/ex… #3410

Merge pull request #1339 from LeChatErrant/dependabot/npm_and_yarn/ex…

Merge pull request #1339 from LeChatErrant/dependabot/npm_and_yarn/ex… #3410

Workflow file for this run

name: Unit tests
on:
push:
branches-ignore:
- gh-pages
paths:
- package.json
- package-lock.json
- prisma/**
- src/**
- tsconfig.json
- jest.config.js
- .github/workflows/integration-tests.yml
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Install dependencies
run: npm install
- name: Build the app
run: npm run build
- name: Run unit tests
run: npm run test