-
-
Notifications
You must be signed in to change notification settings - Fork 16
Implement MetaMask/action-checkout-and-setup
#262
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
Conversation
| cache: 'yarn' | ||
| - name: Install dependencies via Yarn | ||
| run: yarn --immutable | ||
| cache-node-modules: ${{ matrix.node-version == '22.x' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we only want to cache on a specific version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cache key is the same, so it would show warnings that the cache could not be saved if we enable caching for all versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So do we not have caching for the other versions or we use the same cache?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use the same cache. AFAIK node_modules is the same for different Node.js versions.
desi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pulling this over for us!
mcmire
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks for taking care of this.
This implements
MetaMask/action-checkout-and-setup, which replaces the checkout and Node.js setup steps in CI.