Skip to content

Bump semver from 5.7.1 to 5.7.2 #9

Bump semver from 5.7.1 to 5.7.2

Bump semver from 5.7.1 to 5.7.2 #9

name: Automatic Tests
on:
pull_request:
workflow_dispatch:
jobs:
tests:
name: Run Jest Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: cache yarn
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-dev-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-dev-
- name: yarn install
run: yarn install
- name: run tests
run: yarn test --coverage
- name: Save output
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: coverage
path: |
coverage