Skip to content

metadata for runtypes #237

metadata for runtypes

metadata for runtypes #237

Workflow file for this run

name: unit-tests
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [12, 14, 16]
name: ${{ matrix.os }} Node ${{ matrix.node }} cache
env:
OS: ${{ matrix.os }}
NODE: ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
- name: Get yarn cache directory
id: yarn-cache
run: |
echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/[email protected]
id: cache
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node }}-
${{ runner.os }}-node-
- run: |
yarn install --frozen-lockfile
yarn run lint
yarn run test:types
yarn run test