Skip to content

Commit 35e9015

Browse files
authored
ci: only use GH actions, ditch circleci (#3645)
* 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
1 parent 5af911e commit 35e9015

File tree

4 files changed

+27
-137
lines changed

4 files changed

+27
-137
lines changed

.circleci/config.yml

-109
This file was deleted.

.github/workflows/CI.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
types: [opened, synchronize]
49

510
jobs:
611
v14:
@@ -123,6 +128,8 @@ jobs:
123128
runs-on: windows-2022
124129
steps:
125130
- uses: actions/checkout@v3
131+
with:
132+
max_attempts: 3
126133
- name: Update yarn
127134
run: |
128135
node --version

README.md

+14-18
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
>
1111
> `cat docs/assets/commitlint.json | svg-term --out docs/assets/commitlint.svg --frame --profile=Seti --height=20 --width=80`
1212
13-
[![npm latest][2]][3] [![CircleCI][4]][5] <!-- [![TravisCI][6]][7] -->
13+
[![npm latest][2]][3] [![Github Actions][4]][5]
1414

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

116-
**Or use installed package instead**
116+
**Or use installed package instead**
117+
117118
```
118119
npm pkg set scripts.commitlint="commitlint --edit"
119120
npx husky add .husky/commit-msg 'npm run commitlint ${1}'
120121
```
121122

122-
123123
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.
124124

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

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

227227
_Dates are subject to change._
228228

@@ -349,12 +349,8 @@ npx lerna exec --no-bail --no-private --no-sort --stream -- '[ -n "$(npm v . dis
349349
[1]: https://nodejs.org/api/documentation.html#documentation_stability_index
350350
[2]: https://img.shields.io/npm/v/@commitlint/cli.svg?style=flat-square
351351
[3]: https://npmjs.org/package/@commitlint/cli
352-
[4]: https://img.shields.io/circleci/project/github/conventional-changelog/commitlint/master.svg?style=flat-square
353-
[5]: https://circleci.com/gh/conventional-changelog/commitlint
354-
355-
<!-- [6]: https://img.shields.io/appveyor/ci/conventional-changelog/commitlint/master.svg?style=flat-square
356-
[7]: https://ci.appveyor.com/project/conventional-changelog/commitlint -->
357-
352+
[4]: https://github.com/conventional-changelog/commitlint/actions/workflows/CI.yml/badge.svg
353+
[5]: https://github.com/conventional-changelog/commitlint/actions/workflows/CI.yml
358354
[8]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square
359355
[9]: https://nodejs.org/api/documentation.html#documentation_stability_index
360356
[10]: https://img.shields.io/npm/v/@commitlint/cli/next.svg?style=flat-square

docs/README.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
# commitlint &nbsp; [![slack][11]][12]
1010

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

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

@@ -61,14 +61,10 @@ commitlint --from=HEAD~1
6161
[1]: https://nodejs.org/api/documentation.html#documentation_stability_index
6262
[2]: https://img.shields.io/npm/v/@commitlint/cli.svg?style=flat-square
6363
[3]: https://npmjs.org/package/@commitlint/cli
64-
[4]: https://img.shields.io/circleci/project/github/conventional-changelog/commitlint/master.svg?style=flat-square
65-
[5]: https://circleci.com/gh/conventional-changelog/commitlint
66-
67-
<!-- [6]: https://img.shields.io/appveyor/ci/conventional-changelog/commitlint/master.svg?style=flat-square
68-
[7]: https://ci.appveyor.com/project/conventional-changelog/commitlint -->
69-
64+
[4]: https://github.com/conventional-changelog/commitlint/actions/workflows/CI.yml/badge.svg
65+
[5]: https://github.com/conventional-changelog/commitlint/actions/workflows/CI.yml
7066
[8]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square
7167
[9]: https://nodejs.org/api/documentation.html#documentation_stability_index
7268
[10]: https://img.shields.io/npm/v/@commitlint/cli/next.svg?style=flat-square
73-
[11]: http://devtoolscommunity.herokuapp.com/badge.svg?style=flat-square
74-
[12]: http://devtoolscommunity.herokuapp.com
69+
[11]: https://devtoolscommunity.herokuapp.com/badge.svg?style=flat-square
70+
[12]: https://devtoolscommunity.herokuapp.com

0 commit comments

Comments
 (0)