You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
77
79
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
78
80
81
+
- name: Validate package-lock.json # See https://github.com/npm/cli/issues/4460
82
+
run: |
83
+
npm i -g npm-package-lock-add-resolved@1.1.4
84
+
npm-package-lock-add-resolved
85
+
git --no-pager diff --exit-code
86
+
79
87
- name: Install dependencies & build
80
88
env:
81
89
CYPRESS_INSTALL_BINARY: 0
@@ -84,7 +92,7 @@ jobs:
84
92
npm ci
85
93
npm run build --if-present
86
94
87
-
- name: Check webpack build changes
95
+
- name: Check build changes
88
96
run: |
89
97
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"
0 commit comments