Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/rstack/bin/rs.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import nodeModule from 'node:module';
// enable on-disk code caching and share its directory with child workers
// requires Nodejs >= 22.8.0
const { enableCompileCache, constants } = nodeModule;
if (enableCompileCache) {
const isCI = Boolean(process.env.CI) && process.env.CI !== 'false';
// Skip CI, where the cache is unlikely to be reused.
if (enableCompileCache && !isCI) {
try {
const { directory, status } = enableCompileCache();
// ALREADY_ENABLED returns the active version-specific cache directory.
Expand Down
Loading