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

9 commits

Author SHA1 Message Date
Wagner Santos
a8947aa26c chore(deps): update node version to 20.9.0
BREAKING CHANGE: action now runs on Node 20.9.0
2023-11-01 05:26:00 -03:00
Diogo Kiss
e4c3e786a4 build: upgrade base Docker image to prevent security vulnerability
According to Snyk.io, the currently used base Docker image has 19 security
vulnerabilities (13 high).
https://snyk.io/test/docker/node%3A16.5.0-alpine3.14

On the other hand, the image `node:16.14.2-alpine3.14` has no known security
vulnerabilies.

https://snyk.io/test/docker/node%3A16.14.2-alpine3.14

This commit upgrades the image to fix the above mentioned issues.
2022-05-09 08:19:41 +02:00
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
30d514f252 feat: upgrade to node.js 16 to support ES modules by default
This will help upgrading dependencies to new versions that are exported
as ESM.

BREAKING CHANGE: Node.js version used on the action updated from 12 to
16
2021-07-07 12:53:39 -03:00
Jeroen de Bruijn
e03ee8edd2
ci: run npm ci to install and ignore scripts (#104)
* ci: run `npm ci` to install and ignore scripts

`npm ci` is meant to be used in CI environments and the scripts are ignored to prevent e.g. Husky
from being installed in the CI environment. See https://docs.npmjs.com/cli/v7/commands/npm-ci.

* ci: run `npm ci` to install and ignore scripts in the Dockerfile
2021-02-25 20:02:06 +01:00
Wagner Santos
d0b8181fa4 perf: improve action pull speed by using an alpine image
The action's image is now based on alpine, which reduced drastically it's size. The previous compressed size was ~352 MB, now it's only ~56 MB.

Resolves #37
2020-07-03 15:56:33 -03:00
Wagner Santos
33f8aa30dd fix: revert action to use debian image
Somehow when using alpine image, github actions was not running the entrypoint
2019-10-04 00:47:40 -03:00
Wagner Santos
9379b32eb6 feat: use image from docker hub 2019-10-04 00:24:22 -03:00
Wagner Santos
478fbaff69 feat: add commitlint action 2019-10-04 00:17:29 -03:00