Skip to content

Commit

Permalink
ci/checkPackageLock: update only package-lock.json (#3443)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Dec 26, 2021
1 parent 872c6b9 commit f890300
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -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
Expand Down

0 comments on commit f890300

Please sign in to comment.