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

Ensure examples build in CI #51

Merged
merged 2 commits into from
Jun 28, 2021
Merged

Ensure examples build in CI #51

merged 2 commits into from
Jun 28, 2021

Conversation

IanVS
Copy link
Member

@IanVS IanVS commented Jun 28, 2021

The main problem this addresses is that we need to ensure that yarn install is run no matter what, even if the cache is restored. This is because yarn relies on having an install-state.gz file that is gitignored and created during installations. We were skipping the installation entirely before if there was a cache, which is the reason that #45 is failing in CI.

This also adds a missing dependency, @sveltejs/vite-plugin-svelte to the svelte example. It would be yarn installed along with the rest of the workspace, but for folks using npm or using the example as a guide, it's important to have it there.

@IanVS IanVS requested a review from eirslett June 28, 2021 13:13
@IanVS
Copy link
Member Author

IanVS commented Jun 28, 2021

I made sure to run the actions twice, so that the cache is hit.

@IanVS IanVS merged commit d8a583b into main Jun 28, 2021
@IanVS IanVS deleted the build-examples branch June 28, 2021 13:24
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.

1 participant