From 314a5ca8056f43ed1ed5db80a5278b4188758609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Er=C3=A7etin=20G=C3=BCler?= Date: Sun, 28 Aug 2022 08:08:24 +0300 Subject: [PATCH] Create matrix.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Erçetin Güler --- matrix.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 matrix.yaml diff --git a/matrix.yaml b/matrix.yaml new file mode 100644 index 0000000..a035a34 --- /dev/null +++ b/matrix.yaml @@ -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