diff --git a/.github/workflows/node-windows.yml b/.github/workflows/node-windows.yml index 934baa0cfb3..c1eec78ba49 100644 --- a/.github/workflows/node-windows.yml +++ b/.github/workflows/node-windows.yml @@ -23,7 +23,7 @@ jobs: node-version: ${{ matrix.node }} - name: Check npm version # This is only necessary until we dump Node 6 - run: IF ${{ matrix.node }} LSS 8 npm i npm@5 -g + run: IF (${{ matrix.node }} < 8) npm i npm@5 -g - name: Install dependencies run: npm ci --ignore-scripts - name: Run tests