5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 16:06:56 +00:00
Commit graph

3 commits

Author SHA1 Message Date
wagoid
2e578124a5 fix: build the action with rollup
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
2021-07-17 12:19:13 -03:00
wagoid
5463926c07 feat: update dependencies that needed to switch to ESM syntax
Some packages were updated to versions that now use ECMAScript modules,
so this repo was updated to use ES modules using Node.js built-in support.

Update was done using the great guide from @sindresorhus:
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
2021-07-07 15:17:00 -03:00
Wagner Santos
eac721a186 test: add tests for the action 2019-12-09 20:12:53 -03:00