Run test action for Windows in addition to Linux

This commit is contained in:
Paul Hatcherian 2020-10-06 08:34:17 -04:00
parent 2dba8dd7da
commit 858da7b39c

View file

@ -4,15 +4,34 @@ on:
push:
branches:
- master
- "releases/*"
- "feature/*"
jobs:
test:
name: "Test and Run"
test-linux:
name: "Test and Run, Linux"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: NPM Install
run: npm ci
- name: Test
run: npm test
- name: Package
run: npm run package
- name: Run Action
uses: ./
id: run
test-windows:
name: "Test and Run, Windows"
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: NPM Install
run: npm ci
- name: Test