Skip to content

fix(scripts): add yarn.lock to cache key deps #687

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

Merged
merged 1 commit into from
Jun 14, 2022
Merged

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Jun 14, 2022

🧭 What and Why

🎟 JIRA Ticket: -

Changes included:

add yarn.lock to computed cache key:

Now that we have renovate on, we need to ensure cache is invalidated when the lock file changes.

remove RUN_JS_TESTS cond:

Those tests take like ~5 seconds but their dependencies are pretty hard to compute (deps, other clients, etc.). For the sake of simplicity, we can run them every time the client-common needs to run

🧪 Test

CI :D

@shortcuts shortcuts requested a review from a team June 14, 2022 08:52
@shortcuts shortcuts self-assigned this Jun 14, 2022
@shortcuts shortcuts requested review from eunjae-lee and millotp and removed request for a team June 14, 2022 08:52
@netlify
Copy link

netlify bot commented Jun 14, 2022

Deploy Preview for api-clients-automation ready!

Name Link
🔨 Latest commit bfa9822
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/62a84c43be1b280007606195
😎 Deploy Preview https://deploy-preview-687--api-clients-automation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jun 14, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea !

@shortcuts shortcuts merged commit 0875ec6 into main Jun 14, 2022
@shortcuts shortcuts deleted the fix/scripts-cache-key branch June 14, 2022 09:03
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.

3 participants