Bring over main workflow

This commit is contained in:
Timothy Clem
2019-09-23 20:00:01 -07:00
parent 241050c6d7
commit 907eb9b682

26
.github/workflows/workflow.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Main workflow
on: [push]
jobs:
run:
name: Run
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set Node.js 10.x
uses: actions/setup-node@master
with:
version: 10.x
- name: npm install
run: npm install
- name: Lint
run: npm run format-check
- name: npm test
run: npm test