Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

tea

tea #4120

Workflow file for this run

name: Build & Test
on:
push:
branches: [master]
paths-ignore:
- 'docs/**'
pull_request:
types: [opened, synchronize]
paths-ignore:
- 'docs/**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: ['12']
os: [ubuntu-latest, windows-latest]
include:
- node-version: '14'
os: windows-latest
- node-version: '14'
os: ubuntu-latest
coverage: true
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install
run: yarn install --frozen-lockfile
- name: build
run: yarn build
- run: yarn test
if: ${{ !matrix.coverage }}
- run: yarn test:cov
if: ${{ matrix.coverage }}
- uses: codecov/codecov-action@v1
if: ${{ matrix.coverage }}