rules:exists cannot search for the presence of artifacts, because rules evaluation happens before jobs run and artifacts are fetched.
when: manual
. Можно сделать задачу по проверке образа, можно сделать правило по проверке образа и вызывать их проверку в каждой нужной задаче.
If your tooling doesn't work well with symlinks, you may still use pnpm and set the node-linker setting to hoisted. This will instruct pnpm to create a node_modules directory that is similar to those created by npm and Yarn Classic.