Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2022-05-16 11:53:13 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2022-05-16 11:53:13 +0300
commite2f3af91cf204992fe9a6d4592778ca15ee531a6 (patch)
tree3890f1d5e373b5861706182beda2f0da80996337
parent8f74ab38e93194f5cbafebe3b753c8964b70115f (diff)
Document yarn hash mismatch error
-rw-r--r--doc/testing.md14
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
+```