mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-08 03:57:26 +00:00
Create matrix.yaml
Signed-off-by: Erçetin Güler <ercetinguler@hotmail.com>
This commit is contained in:
parent
d1eb6cec83
commit
314a5ca805
1 changed files with 19 additions and 0 deletions
19
matrix.yaml
Normal file
19
matrix.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: Test matrix
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
node: [14, 16]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
Loading…
Reference in a new issue