Skip to content

v6.6.0

v6.6.0 #100

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: lint & test
on:
push:
branches:
- "main"
- "dev"
pull_request:
branches:
- "main"
- "dev"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
run: yarn install --no-lockfile
- name: Run lint
run: yarn lint
- name: Run test
run: yarn test --coverage