Skip to content

fix: build the action with rollup #197

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

Merged
merged 1 commit into from
Jul 17, 2021
Merged

Conversation

wagoid
Copy link
Owner

@wagoid wagoid commented Jul 17, 2021

On v4, we used the default nodejs resolution logic to allow ES modules in dependencies.
This created a breaking change of forcing users of this action
to use the .cjs extension instead of .js in config files.

With this fix, we now bundle the action with rollup to allow ES modules
in dependencies, while keeping the support for .js config files.

Fixes #194

@wagoid wagoid force-pushed the fix/build-the-action-with-rollup branch from 87872cb to c54451d Compare July 17, 2021 15:16
On v4, we used the default nodejs resolution logic to allow ES modules in dependencies.
This created a breaking change of forcing users of this action
to use the .cjs extension instead of .js in config files.

With this fix, we now bundle the action with rollup to allow ES modules
in dependencies, while keeping the support for .js config files.

With this change, the default config file was returned back to .js instead of
.cjs.

Fixes #194
@wagoid wagoid force-pushed the fix/build-the-action-with-rollup branch from c54451d to 2e57812 Compare July 17, 2021 15:20
@wagoid wagoid merged commit 974c690 into master Jul 17, 2021
@wagoid wagoid deleted the fix/build-the-action-with-rollup branch July 17, 2021 15:22
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.

Change of config file for v4?
1 participant