From 19f9e25e6288ce13abd423cc0a9977dfdd5841c3 Mon Sep 17 00:00:00 2001 From: Trang Le Date: Fri, 25 Aug 2023 20:46:11 +0700 Subject: [PATCH] ci(node.js): build and test with even versions of Node.js (#6494) * ci(node.js): build and test with even versions of Node.js * ci(node.js): remove 10.x version --- .github/workflows/nodejs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index e2ef8bfc0c5d..dad59d0133a9 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -26,13 +26,14 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest, ubuntu-latest] + node-version: [12.x, 14.x, 16.x, 18.x] steps: - uses: actions/checkout@v3 if: ${{ needs.changes.outputs.cms == 'true' }} - - name: Use Node.js + - name: Use Node.js {{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: 18 + node-version: ${{ matrix.node-version }} check-latest: true if: ${{ needs.changes.outputs.cms == 'true' }} - name: log versions