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: push:
branches: branches:
- master - master
- "releases/*" - "feature/*"
jobs: jobs:
test: test-linux:
name: "Test and Run" name: "Test and Run, Linux"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - 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 - name: NPM Install
run: npm ci run: npm ci
- name: Test - name: Test