Create matrix.yaml

Signed-off-by: Erçetin Güler <ercetinguler@hotmail.com>
This commit is contained in:
Erçetin Güler 2022-08-28 08:08:24 +03:00 committed by GitHub
parent d1eb6cec83
commit 314a5ca805
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
matrix.yaml Normal file
View 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