mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 04:58:17 +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/*"
|
||||
|
||||
jobs:
|
||||
test-linux:
|
||||
name: "Test and Run, Linux"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
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
|
||||
test:
|
||||
name: "Test and Run"
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
|||
Loading…
Reference in a new issue