Skip to content

v5.0.2

v5.0.2 #292

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node: [12, 14, 16, 17]
steps:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: checkout
uses: actions/checkout@main
- name: cache node_modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
- name: install
run: yarn --check-files --frozen-lockfile --non-interactive
- name: test
run: yarn test
- name: coverage
ran: yarn coverage