From b67526f09b9a8ae1a3f9938a512b0f8aef9ec0ff Mon Sep 17 00:00:00 2001 From: coderaiser Date: Sun, 13 Jun 2021 22:57:19 +0300 Subject: [PATCH] chore(actions) node: add versions matrix --- .github/workflows/nodejs.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f14344dd..f87c88a8 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -7,13 +7,19 @@ jobs: runs-on: ubuntu-latest env: NAME: cloudcmd - + + strategy: + matrix: + node-version: + - 14.x + - 16.x steps: - - uses: actions/checkout@master - - name: Use Node.js 14.x + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: - node-version: [14.x, 16.x] + node-version: ${{ matrix.node-version }} + - name: Install Redrun run: