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

Build assets on CI and add caching #461

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

jonatanklosko
Copy link
Contributor

Currently assets need to be built manually, which can be forgotten. Also, sometimes non-minified dist is merged in PRs. This adds a workflow to automatically build the assets (particularly useful when installing phoenix_live_dashboard directly from github).

I also added caching to the existing workflow for faster builds.

I tested that both workflows work on the fork :)

@josevalim josevalim merged commit 3eafe7f into phoenixframework:main Dec 4, 2024
4 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@jonatanklosko jonatanklosko deleted the jk-ci-assets branch December 4, 2024 09:42
@SteffenDE
Copy link
Contributor

@chrismccord @josevalim should we do the same for LiveView?

@jonatanklosko
Copy link
Contributor Author

@SteffenDE I think that would make sense, LV is even more likely to be installed from GitHub, so having the assets in sync is good. I opened a PR phoenixframework/phoenix_live_view#3552 :)

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