Skip to content

Update README.md

Update README.md #801

Workflow file for this run

name: Pull requests
on: pull_request
jobs:
build:
name: Build & test with "Node.js v${{ matrix.node-version }}" on "${{ matrix.os }}"
strategy:
fail-fast: false # don't cancel all jobs if some of them failed
matrix:
node-version: [
12,
10
]
os: [
ubuntu-latest,
macOS-latest
]
exclude:
# excludes node 10 on macOS
- os: macOS-latest
node-version: 10
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Setup Node.js v${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Lint
run: yarn lint
- name: Setup tests
run: yarn pretest
- name: Test
run: yarn test:coverage
- name: Cleanup tests
run: yarn posttest