diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2022-05-16 12:44:29 +0300 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2022-05-16 12:44:29 +0300 |
commit | 4f4f99581bdebcb0c725a8ebcbafb36a46d2b08f (patch) | |
tree | b0e6c8ac4d4d17c128184d6f4ed04313fdd04417 | |
parent | 218f2b23b557d0709f0a77b10597d6c703cbbb53 (diff) | |
parent | e2f3af91cf204992fe9a6d4592778ca15ee531a6 (diff) |
Merge branch 'axil-document-yarn-hash-mismatch' into 'main'
Document yarn hash mismatch error
See merge request gitlab-org/gitlab-docs!2668
-rw-r--r-- | doc/testing.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/testing.md b/doc/testing.md index bb0e5497..15da6cf0 100644 --- a/doc/testing.md +++ b/doc/testing.md @@ -39,3 +39,17 @@ Install Lefthook with `lefthook install`, then the tests run each time you run a `git push` command Lefthook settings are configured in [`lefthook.yml`](../lefthook.yml). + +## Troubleshooting + +### `untamper-my-lockfile` fails when the integrity checksum hashes are different + +In case the [`untamper-my-lockfile` job fails](https://gitlab.com/gitlab-org/gitlab-docs/-/jobs/2460255126) +due to a hash mismatch, +[update the checksums](https://classic.yarnpkg.com/en/docs/cli/install#toc-yarn-install-update-checksums) +of `yarn.lock`: + +```shell +rm yarn.lock +yarn install --update-checksums +``` |