.github/workflows/ci.yml
name: CI
on: [push]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install
run: yarn install
- name: Test
run: yarn test --coverage --coverageReporters=lcov
env:
CI: true