CI: simplify npm install step
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 22 Apr 2022 10:00:43 +0000 (12:00 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 22 Apr 2022 10:00:43 +0000 (12:00 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/ci.yml

index 7edeec80ef9b607030b420369888f78ea14b8641..9860ffc96b22307c664ddbf76206c89233345422 100644 (file)
@@ -32,11 +32,7 @@ jobs:
           node-version: ${{ matrix.node }}
 
       - name: Install
-        if: matrix.node == '18.x'
         run: npm ci --legacy-peer-deps
-      - name: Install
-        if: matrix.node != '18.x'
-        run: npm ci
 
       - name: Build
         run: npm run build --if-present