Skip to content

Merge pull request #58 from CodingItWrong/dependabot/npm_and_yarn/rea… #133

Merge pull request #58 from CodingItWrong/dependabot/npm_and_yarn/rea…

Merge pull request #58 from CodingItWrong/dependabot/npm_and_yarn/rea… #133

Workflow file for this run

name: Test
on: [push]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Unit Tests
run: yarn test --watchAll=false