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

refactor: prefer Node.js built-in fs method #1089

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

SukkaW
Copy link
Contributor

@SukkaW SukkaW commented Sep 2, 2024

The PR re-implements #1072.

Since the action has been updated to Node.js 20, it is safe to use Node.js built-in fs methods to replace shelljs. Fewer dependencies result in faster boot-up speed.

The shelljs has been moved to devDependencies. The unit test cases have not been touched to make sure all the behavior remains the same.

@actions-gh-pages actions-gh-pages bot added the dependencies Pull requests that update a dependency file label Sep 2, 2024
@SukkaW SukkaW marked this pull request as draft September 2, 2024 12:37
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.

1 participant