Skip to content

Upgrade cypress (#47) #163

Upgrade cypress (#47)

Upgrade cypress (#47) #163

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