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

fix: make tests work again, bump GitHub dependencies #195

Merged
merged 3 commits into from
Apr 23, 2024

Conversation

stasadev
Copy link
Member

The Issue

Tests are broken:

Warning: No existing directories found containing cache-dependency-path="./yarn.lock"

I investigated this and found that it is a problem in withastro/action@v2

I opened a PR there, but don't know if it is going to be merged soon:

How This PR Solves The Issue

  1. Removes all yarn.lock files from node_modules directory before running withastro/action@v2. (This workaround can be removed later.)
  2. Bumps actions/checkout and actions/setup-node to v4.
  3. I found out that withastro/action@v2 uses node-version, but we do not set it explicitly - fixed.

Manual Testing Instructions

Automated Testing Overview

Related Issue Link(s)

Release/Deployment Notes

Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@stasadev stasadev merged commit 3043b7f into main Apr 23, 2024
2 checks passed
@stasadev stasadev deleted the 20240423_stasadev_check_tests branch April 23, 2024 19:13
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.

2 participants