diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 19c3976ca6678e4542b6963423f361c5d1d5792d..697a83d3f16eb99e620d54e6a60de6bfc4823e56 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,8 +16,8 @@ stages:
 test:
   stage: test
   script:
-    - yarn check --integrity
     - yarn install --frozen-lockfile
+    - yarn check --integrity
     - yarn run test
 
 linting: