Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
ci: only use GH actions, ditch circleci (conventional-changelog#3645)
Browse files Browse the repository at this point in the history
* ci: only use GH actions, ditch circleci

* ci: specify when to run GH actions

* docs: update GH actions badge

* ci: try windows test action for 3 times
  • Loading branch information
escapedcat authored Aug 19, 2023
1 parent 5af911e commit 35e9015
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 137 deletions.
109 changes: 0 additions & 109 deletions .circleci/config.yml

This file was deleted.

9 changes: 8 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: CI

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize]

jobs:
v14:
Expand Down Expand Up @@ -123,6 +128,8 @@ jobs:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
with:
max_attempts: 3
- name: Update yarn
run: |
node --version
Expand Down
32 changes: 14 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
>
> `cat docs/assets/commitlint.json | svg-term --out docs/assets/commitlint.svg --frame --profile=Seti --height=20 --width=80`
[![npm latest][2]][3] [![CircleCI][4]][5] <!-- [![TravisCI][6]][7] -->
[![npm latest][2]][3] [![Github Actions][4]][5]

- 🚓 Be a good `commitizen`
- 📦 Share configuration via `npm`
Expand Down Expand Up @@ -113,13 +113,13 @@ yarn husky install
npx husky add .husky/commit-msg 'npx --no -- commitlint --edit ${1}'
```

**Or use installed package instead**
**Or use installed package instead**

```
npm pkg set scripts.commitlint="commitlint --edit"
npx husky add .husky/commit-msg 'npm run commitlint ${1}'
```


Check the [husky documentation](https://typicode.github.io/husky/#/?id=manual) on how you can automatically have Git hooks enabled after install for different `yarn` versions.

**Detailed Setup instructions**
Expand Down Expand Up @@ -214,15 +214,15 @@ is room and need for improvement. The items on the roadmap should enhance `commi
Security patches will be applied to versions which are not yet EOL.\
Features will only be applied to the current main version.

| Release | Inital release | End-of-life | |
| -------------------------------------------------------------------------------- | -------------- | ----------- |-----|
| [v17](https://github.com/conventional-changelog/commitlint/releases/tag/v17.0.0) | 16.05.2022 | 16.05.2023 |(till next main version)|
| [v16](https://github.com/conventional-changelog/commitlint/releases/tag/v16.0.0) | 26.12.2021 | 26.12.2022 ||
| [v15](https://github.com/conventional-changelog/commitlint/releases/tag/v15.0.0) | 17.11.2021 | 17.11.2022 ||
| [v14](https://github.com/conventional-changelog/commitlint/releases/tag/v14.0.0) | 26.10.2021 | 26.10.2022 ||
| [v13](https://github.com/conventional-changelog/commitlint/releases/tag/v13.0.0) | 24.05.2021 | 24.05.2022 ||
| [v12](https://github.com/conventional-changelog/commitlint/releases/tag/v12.0.0) | 23.02.2021 | 23.02.2022 ||
| [v11](https://github.com/conventional-changelog/commitlint/releases/tag/v11.0.0) | 13.09.2020 | 13.09.2020 ||
| Release | Inital release | End-of-life | |
| -------------------------------------------------------------------------------- | -------------- | ----------- | ------------------------ |
| [v17](https://github.com/conventional-changelog/commitlint/releases/tag/v17.0.0) | 16.05.2022 | 16.05.2023 | (till next main version) |
| [v16](https://github.com/conventional-changelog/commitlint/releases/tag/v16.0.0) | 26.12.2021 | 26.12.2022 | |
| [v15](https://github.com/conventional-changelog/commitlint/releases/tag/v15.0.0) | 17.11.2021 | 17.11.2022 | |
| [v14](https://github.com/conventional-changelog/commitlint/releases/tag/v14.0.0) | 26.10.2021 | 26.10.2022 | |
| [v13](https://github.com/conventional-changelog/commitlint/releases/tag/v13.0.0) | 24.05.2021 | 24.05.2022 | |
| [v12](https://github.com/conventional-changelog/commitlint/releases/tag/v12.0.0) | 23.02.2021 | 23.02.2022 | |
| [v11](https://github.com/conventional-changelog/commitlint/releases/tag/v11.0.0) | 13.09.2020 | 13.09.2020 | |

_Dates are subject to change._

Expand Down Expand Up @@ -349,12 +349,8 @@ npx lerna exec --no-bail --no-private --no-sort --stream -- '[ -n "$(npm v . dis
[1]: https://nodejs.org/api/documentation.html#documentation_stability_index
[2]: https://img.shields.io/npm/v/@commitlint/cli.svg?style=flat-square
[3]: https://npmjs.org/package/@commitlint/cli
[4]: https://img.shields.io/circleci/project/github/conventional-changelog/commitlint/master.svg?style=flat-square
[5]: https://circleci.com/gh/conventional-changelog/commitlint

<!-- [6]: https://img.shields.io/appveyor/ci/conventional-changelog/commitlint/master.svg?style=flat-square
[7]: https://ci.appveyor.com/project/conventional-changelog/commitlint -->

[4]: https://github.com/conventional-changelog/commitlint/actions/workflows/CI.yml/badge.svg
[5]: https://github.com/conventional-changelog/commitlint/actions/workflows/CI.yml
[8]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square
[9]: https://nodejs.org/api/documentation.html#documentation_stability_index
[10]: https://img.shields.io/npm/v/@commitlint/cli/next.svg?style=flat-square
Expand Down
14 changes: 5 additions & 9 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# commitlint &nbsp; [![slack][11]][12]

[![npm latest][2]][3] [![CircleCI][4]][5] <!-- [![AppVeyor][6]][7] -->
[![npm latest][2]][3] [![Github Actions][4]][5]

`commitlint` helps your team adhere to a commit convention. By supporting npm-installed configurations it makes sharing of commit conventions easy.

Expand Down Expand Up @@ -61,14 +61,10 @@ commitlint --from=HEAD~1
[1]: https://nodejs.org/api/documentation.html#documentation_stability_index
[2]: https://img.shields.io/npm/v/@commitlint/cli.svg?style=flat-square
[3]: https://npmjs.org/package/@commitlint/cli
[4]: https://img.shields.io/circleci/project/github/conventional-changelog/commitlint/master.svg?style=flat-square
[5]: https://circleci.com/gh/conventional-changelog/commitlint

<!-- [6]: https://img.shields.io/appveyor/ci/conventional-changelog/commitlint/master.svg?style=flat-square
[7]: https://ci.appveyor.com/project/conventional-changelog/commitlint -->

[4]: https://github.com/conventional-changelog/commitlint/actions/workflows/CI.yml/badge.svg
[5]: https://github.com/conventional-changelog/commitlint/actions/workflows/CI.yml
[8]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square
[9]: https://nodejs.org/api/documentation.html#documentation_stability_index
[10]: https://img.shields.io/npm/v/@commitlint/cli/next.svg?style=flat-square
[11]: http://devtoolscommunity.herokuapp.com/badge.svg?style=flat-square
[12]: http://devtoolscommunity.herokuapp.com
[11]: https://devtoolscommunity.herokuapp.com/badge.svg?style=flat-square
[12]: https://devtoolscommunity.herokuapp.com

0 comments on commit 35e9015

Please sign in to comment.