Skip to content

Commit f890300

Browse files
ci/checkPackageLock: update only package-lock.json (#3443)
1 parent 872c6b9 commit f890300

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,18 @@ jobs:
6767
cache: npm
6868
node-version: ${{ env.NODE_VERSION_USED_FOR_DEVELOPMENT }}
6969

70+
- name: Install Dependencies
71+
run: npm ci --ignore-scripts
72+
73+
- name: Check that package-lock.json doesn't have conflicts
74+
run: npm ls --depth 999
75+
7076
- name: Run npm install
71-
run: npm install --ignore-scripts --engine-strict --strict-peer-deps
77+
run: npm install --force --package-lock-only --ignore-scripts --engine-strict --strict-peer-deps
7278

7379
- name: Check that package-lock.json is in sync with package.json
7480
run: git diff --exit-code package-lock.json
7581

76-
- name: Check that package-lock.json doesn't have conflicts
77-
run: npm ls --depth 999
78-
7982
integrationTests:
8083
name: Run integration tests
8184
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)