mirror of
https://github.com/FormidableLabs/webpack-dashboard.git
synced 2026-01-18 14:18:05 +00:00
36 lines
738 B
YAML
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 }}
|