Ryan Roemer 1e91bbff54
Infra: Switch to GH actions (#315)
- Remove Travis and AppVeyor
- Add GH Actions
2020-12-16 13:14:49 -08:00

36 lines
738 B
YAML

name: CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [10.x, 12.x, 14.x, 15.x]
steps:
# Setup
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# Installation
- run: yarn --version
- run: yarn install --frozen-lockfile
env:
CI: true
# CI
- run: yarn check-ci
# TODO(206): Add code coverage
# https://github.com/FormidableLabs/webpack-dashboard/issues/206
# - run: yarn codecov
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}