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

Update dependencies, use ncc to bundle actions logic #59

Merged
merged 2 commits into from
Oct 23, 2024
Merged

Conversation

kailan
Copy link
Member

@kailan kailan commented Oct 21, 2024

I updated the dependencies in order to resolve #58, but the diff was huge because of the need to include node_modules in the repository.

Following best practices that I found in other GitHub Actions, I've added a build step that uses @vercel/ncc to bundle dependencies and logic into single JS files for each action.

@kailan kailan added the dependencies Pull requests that update a dependency file label Oct 21, 2024
dist/build/sourcemap-register.js Fixed Show fixed Hide fixed
dist/deploy/sourcemap-register.js Fixed Show fixed Hide fixed
dist/setup/sourcemap-register.js Fixed Show fixed Hide fixed
@kailan kailan force-pushed the upload-artifact branch 2 times, most recently from 0ca61c6 to 34aa7df Compare October 21, 2024 17:38
@kailan kailan marked this pull request as ready for review October 21, 2024 17:54
@kailan kailan requested review from a team and kpfleming and removed request for a team October 21, 2024 17:54
Copy link
Contributor

@kpfleming kpfleming left a comment

Choose a reason for hiding this comment

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

Minor suggestions for RELEASE.md.

- Run `git tag -s "<TAG>" -m "<TAG>" && git push origin "<TAG>"`.
- Merge the pull request.
Copy link
Contributor

Choose a reason for hiding this comment

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

This appears to be out of order, as it's going to happen after the tag is made.

This should probably include a git checkout main && git pull after the PR is merged, to ensure that the local main branch is up to date before making the tag.

If you want to get even fancier, you can steal this which will for creating the tag even if the name of the remote is not origin (which is often the case for me).

@kailan kailan merged commit ddbd065 into main Oct 23, 2024
9 checks passed
@kailan kailan deleted the upload-artifact branch October 23, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecated upload-artifact dependency
2 participants