Skip to content

fix: snapshot tests #781

fix: snapshot tests

fix: snapshot tests #781

Workflow file for this run

name: Jest tests
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}
- name: Install modules
run: yarn
- name: Build
run: yarn build
- name: Run tests
run: yarn test