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