mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-28 21:38:18 +00:00
Run test action for Windows in addition to Linux
This commit is contained in:
parent
2dba8dd7da
commit
858da7b39c
1 changed files with 23 additions and 4 deletions
27
.github/workflows/test.yml
vendored
27
.github/workflows/test.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue