Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): ignore nx local cache issue as local cache is shared in github actions #8697

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

overbit
Copy link
Contributor

@overbit overbit commented Jun 20, 2024

Close: #8696

PR Details

Update all ci actions that leverage NX to ignore local cache machineId as the github action share the local cache by caching node_modules that contain the nx local cache.
This is achieve through the env variable NX_REJECT_UNKNOWN_LOCAL_CACHE as described here: https://nx.dev/troubleshooting/unknown-local-cache#you-share-cache-with-another-machine-using-a-network-drive

PR Checklist

  • Tests for the changes have been added
  • npm test doesn't throw any error

IMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing guidelines.

Copy link

nx-cloud bot commented Jun 20, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 97a837a. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 4 targets

Sent with 💌 from NxCloud.

@overbit overbit force-pushed the fix/ci-nx-local-cache-issue branch from 1fbeac6 to 97a837a Compare June 20, 2024 10:26
@overbit overbit linked an issue Jun 20, 2024 that may be closed by this pull request
@mulygottlieb mulygottlieb merged commit e71b19c into next Jun 20, 2024
17 checks passed
@mulygottlieb mulygottlieb deleted the fix/ci-nx-local-cache-issue branch June 20, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NX Invalid Cache Directory for Task
2 participants