Skip to content

docs: add ci workflow status badge #4

docs: add ci workflow status badge

docs: add ci workflow status badge #4

Workflow file for this run

name: quality
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#push
on: [push]
jobs:
main:
# https://github.com/actions/runner-images
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v1
# https://github.com/actions/cache/blob/main/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Uncache Yarn dependencies
uses: actions/cache@v2
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: |
yarn install
- name: Lint
run: |
yarn lint:ci
- name: Test
run: |
yarn test:ci