Skip to content

3.1.2

3.1.2 #78

Workflow file for this run

name: Tests
on:
push:
branches:
- main
jobs:
tests:
name: Building package
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Caching node_modules
uses: actions/cache@v3
id: yarn-cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '14'
check-latest: true
cache: 'yarn'
- name: Install dependencies 🔧
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: Test package 🔧
run: yarn test