Generic languages does not use the cache

In this language: generic job (configured here) I don’t see any mention of the cache being used.

Any thoughts?

Also, is using generic the right choice for an environment that needs both Python and Node builds?

Thanks in advance,

Caching shortcuts are language-specific. Only for node_js jobs is cache: yarn effective; cache: bundler is effective only for language: ruby, and so on.

There is none for language: generic, so you’ll have to use your own cache.directories.

It depends. Your need for one language’s feature (for example, using a more recent version of Python that’s not available otherwise) could tip this either way.

Thank you @BanzaiMan
That helped.

I added this:

          - $HOME/.cache/yarn
          - $HOME/.cache/pip
          - node_modules