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

10 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
5b6cd1b23a fix: default to .cjs extension in config files 2021-07-15 15:51:26 -03:00
wagoid
9ab6c49482 chore(dx): add .nvmrc file 2021-07-15 05:49:56 -03:00
Jeroen de Bruijn
a0b2acf16c
style: add ESLint ignore file to enable linting of dotfiles (#103)
Closes #100.
2021-02-25 19:03:56 +01:00
Wagner Santos
51913c302c style: add eslint to the project
The config is based on airbnb shared config, with some rules that work better with the project.
2021-02-18 14:43:25 -03:00
Wagner Santos
26b07cb569 ci: remove redundant commitlint-with-yml-file workflow
We have tests for custom yml config file, so this is not needed.
2021-02-12 15:49:45 -03:00
Wagner Santos
25a8edceb7 refactor: move action files to src folder 2020-08-02 06:42:21 -03:00
Wagner Santos
eac721a186 test: add tests for the action 2019-12-09 20:12:53 -03:00
Wagner Santos
99b068a844 fix: lerna scopes not working due to missing lerna dependency
`@commitlint/config-lerna-scopes` package depends on lerna but doesn't have `lerna` listed in its dependencies, so the action was failing. Since this action doesn't run in the repo's context, we need to install lerna as a dependency to make it work.
2019-10-18 16:44:52 -03:00
Wagner Santos
2e19de5fb9 chore: removed not needed files from the Docker image 2019-10-15 10:24:05 -03:00