Skip to content

Fix package-lock

Fix package-lock #161

Workflow file for this run

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