mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 13:08:17 +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:
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue