Skip to content

chore: release 2.2.0 #42

chore: release 2.2.0

chore: release 2.2.0 #42

Workflow file for this run

name: Test Suite
on: push
jobs:
lint:
name: Run Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Yarn cache directory path
id: yarn-cache-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache node modules
uses: actions/cache@v2
id: yarn-cache
env:
cache-name: cache-node-modules
with:
path: ${{ steps.yarn-cache-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: |
yarn install --cwd example --frozen-lockfile
yarn install --frozen-lockfile
- name: Run linter
run: |
yarn lint
id: lint
type:
name: Run Type Checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Yarn cache directory path
id: yarn-cache-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache node modules
uses: actions/cache@v2
id: yarn-cache
env:
cache-name: cache-node-modules
with:
path: ${{ steps.yarn-cache-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: |
yarn install --cwd example --frozen-lockfile
yarn install --frozen-lockfile
- name: Run type checker
run: |
yarn typescript
id: type