Skip to content

Merge pull request #62 from Kinvey/dependabot/npm_and_yarn/blamer-1.0.4 #16

Merge pull request #62 from Kinvey/dependabot/npm_and_yarn/blamer-1.0.4

Merge pull request #62 from Kinvey/dependabot/npm_and_yarn/blamer-1.0.4 #16

Workflow file for this run

name: Unit tests
on:
push:
branches:
- master
pull_request:
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12'
- uses: actions/cache@v2
id: cache
with:
path: ./node_modules
key: modules-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- name: Run Unit tests
run: npm run test-unit