You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use install-package'sinclude-branch-in-cache-key: false across my jobs, because I don't think it makes sense to re-build my node_modules when starting a new branch if they haven't changed.
I run my test and type checks in separate node/test and node/run jobs. Because these don't have the same include-branch-in-cache-key setting, those jobs will always reinstall their dependencies on the first run on a new branch again.
Examples:
- build_node # This job includes node/install-packages with include-branch-in-cache-key: false
# I'd like to add include-branch-in-cache-key: false to these jobs too
- node/test:
name: test
cache-version: *yarn_cache_version
run-command: test:ci
version: *tag
pkg-manager: yarn
test-results-for: jest
requires:
- build_node
- node/run:
name: types
cache-version: *yarn_cache_version
pkg-manager: yarn
yarn-run: types
version: *tag
requires:
- build_node
Describe Request:
I would like to use install-package's
include-branch-in-cache-key: false
across my jobs, because I don't think it makes sense to re-build my node_modules when starting a new branch if they haven't changed.I run my test and type checks in separate
node/test
andnode/run
jobs. Because these don't have the sameinclude-branch-in-cache-key
setting, those jobs will always reinstall their dependencies on the first run on a new branch again.Examples:
Supporting Documentation Links:
install-package
test/run jobs
The text was updated successfully, but these errors were encountered: