Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Merge pull request #158 from ludwigschubi/dependabot/npm_and_yarn/asy… #795

Merge pull request #158 from ludwigschubi/dependabot/npm_and_yarn/asy…

Merge pull request #158 from ludwigschubi/dependabot/npm_and_yarn/asy… #795

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