From 943c5bcc814ec47569074138d5a9fdc3aad603b2 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Thu, 11 Jul 2019 16:15:37 -0400 Subject: [PATCH] Create workflow.yml --- .github/workflows/workflow.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..b8b6223 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,23 @@ +name: Main workflow +on: [push] +jobs: + run: + name: Run + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + operating-system: [ubuntu-latest, windows-latest] + actions: + - name: Set Node.js 10.x + uses: bryanmacfarlane/node-config@master + with: + version: 10.x + + - name: npm install + run: npm install + + - name: Lint + run: npm run format-check + + - name: npm test + run: npm test