mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-28 21:38:18 +00:00
Update test action
This commit is contained in:
parent
1f05445eed
commit
c47459a3b9
1 changed files with 6 additions and 20 deletions
26
.github/workflows/test.yml
vendored
26
.github/workflows/test.yml
vendored
|
|
@ -7,26 +7,12 @@ on:
|
||||||
- "feature/*"
|
- "feature/*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-linux:
|
test:
|
||||||
name: "Test and Run, Linux"
|
name: "Test and Run"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
strategy:
|
||||||
- name: Checkout
|
matrix:
|
||||||
uses: actions/checkout@v2
|
os: [ubuntu-latest, windows-latest]
|
||||||
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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue