toolkit
toolkit copied to clipboard
@actions/glob - Outdated minimatch dependency
Describe the bug
The current version of minimatch used by @actions/glob is severely outdated. As of this issue, it is pinned a 3.0.4 while the latest release is 10.0.1.
When transpiling ESM actions using tools like rollup, this results in invalid require statements that cause unresolvable errors on Windows runners.
Additional details can be found here: https://github.com/graalvm/setup-graalvm/issues/138
To Reproduce Steps to reproduce the behavior:
- Create a fork of https://github.com/actions/typescript-action
- Install the
@actions/globmodule - Transpile the action (
npm run package) - Attempt to run the action on a Windows runner
Expected behavior
The action runs as expected, and the @actions/glob functionality does not raise an error.
Additional context
- Related: https://github.com/rollup/rollup/issues/3434
- Related: https://github.com/actions/typescript-action/issues/1017