From 99b6cd6eda4904d796920ded616ff73d324b6b22 Mon Sep 17 00:00:00 2001 From: Mohamed Elkholy Date: Tue, 16 Feb 2021 05:34:49 +0200 Subject: [PATCH] chore(test): setup tests to run on both node 10 and 12 --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0db632e..10e732c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,11 +10,15 @@ jobs: test: if: "!contains(github.event.head_commit.message, '[skip ci]')" runs-on: ubuntu-20.04 + strategy: + matrix: + node: [ '10', '12' ] + name: Node ${{ matrix.node }} test steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 12 + node-version: ${{ matrix.node }} - uses: actions/cache@v2 with: path: ~/.pnpm-store