Add lint-test-repos scripts and Workflow for real-world regression testing.

This commit is contained in:
David Anson 2020-05-08 11:53:08 -07:00
parent ada0d02a2f
commit 2141566b47
5 changed files with 130 additions and 1 deletions

28
.github/workflows/test-repos.yml vendored Normal file
View file

@ -0,0 +1,28 @@
name: TestRepos
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install --no-package-lock
- name: Clone Test Repos
run: npm run clone-test-repos
- name: Lint Test Repos
run: npm run lint-test-repos