From 977fb2ac91b4ef9b5de9a0ce2988a0da1c41c710 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Sun, 26 Dec 2021 12:03:40 +0200 Subject: [PATCH] ci/checkPackageLock: update only package-lock.json --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15aa4bd81a..f8f6b196f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,15 +67,18 @@ jobs: cache: npm node-version: ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }} + - name: Install Dependencies + run: npm ci --ignore-scripts + + - name: Check that package-lock.json doesn't have conflicts + run: npm ls --depth 999 + - name: Run npm install - run: npm install --ignore-scripts --engine-strict --strict-peer-deps + run: npm install --force --package-lock-only --ignore-scripts --engine-strict --strict-peer-deps - name: Check that package-lock.json is in sync with package.json run: git diff --exit-code package-lock.json - - name: Check that package-lock.json doesn't have conflicts - run: npm ls --depth 999 - integrationTests: name: Run integration tests runs-on: ubuntu-latest