Skip to content

Commit 1b9c7ba

Browse files
committed
chore: remove commitlint
1 parent d67d4b5 commit 1b9c7ba

9 files changed

Lines changed: 16 additions & 24460 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [ master ]
66
pull_request:
77

88
jobs:
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os: [ubuntu-latest, macos-latest, windows-latest]
14+
os: [ ubuntu-latest, macos-latest, windows-latest ]
1515
java-version: [ 8, 11, 14 ]
1616
fail-fast: false
1717
steps:
@@ -23,8 +23,7 @@ jobs:
2323
path: |
2424
~/.gradle/wrapper
2525
~/.gradle/caches
26-
.yarn/cache
27-
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle.*', 'yarn.lock') }}
26+
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle.*') }}
2827
restore-keys: |
2928
gradle-${{ runner.os }}
3029
gradle-
@@ -33,7 +32,7 @@ jobs:
3332
with:
3433
java-version: ${{ matrix.java-version }}
3534
- name: Prepare
36-
run: ./gradlew clean prepareCi dependencies
35+
run: ./gradlew clean dependencies
3736
- name: Build
3837
run: ./gradlew assemble testClasses
3938
- name: Test
@@ -46,59 +45,19 @@ jobs:
4645
report_paths: '**/build/test-results/test/TEST-*.xml'
4746
check_name: Test Failures (${{ matrix.os }}, ${{ matrix.java-version }})
4847

49-
check-commits:
50-
name: Check Commits
51-
runs-on: ubuntu-latest
52-
steps:
53-
- name: Checkout
54-
uses: actions/checkout@v2
55-
with:
56-
fetch-depth: 0
57-
- name: Cache
58-
uses: actions/cache@v2
59-
with:
60-
path: |
61-
~/.gradle/wrapper
62-
~/.gradle/caches
63-
.yarn/cache
64-
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle.*', 'yarn.lock') }}
65-
restore-keys: |
66-
gradle-${{ runner.os }}
67-
gradle-
68-
- name: Set up JDK 11
69-
uses: actions/setup-java@v1
70-
with:
71-
java-version: 11
72-
- name: Prepare
73-
run: ./gradlew clean prepareCi dependencies
74-
- name: Check Commits
75-
run: ./gradlew checkCommits
76-
7748
release:
7849
name: Release Check
7950
runs-on: ubuntu-latest
80-
needs: [build, check-commits]
51+
needs: build
8152
steps:
8253
- name: Checkout
8354
uses: actions/checkout@v2
84-
- name: Cache
85-
uses: actions/cache@v2
55+
- name: Setup Node.js
56+
uses: actions/setup-node@v1
8657
with:
87-
path: |
88-
~/.gradle/wrapper
89-
~/.gradle/caches
90-
.yarn/cache
91-
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle.*', 'yarn.lock') }}
92-
restore-keys: |
93-
gradle-${{ runner.os }}
94-
gradle-
95-
- name: Set up JDK 11
96-
uses: actions/setup-java@v1
97-
with:
98-
java-version: 11
99-
- name: Prepare
100-
run: ./gradlew clean prepareCi dependencies
58+
node-version: 14
10159
- name: Release Check
10260
env:
10361
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
104-
run: ./gradlew checkRelease
62+
run: npx semantic-release
63+

.github/workflows/release.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22

33
on:
44
release:
5-
types: [published]
5+
types: [ published ]
66

77
jobs:
88
release:
@@ -17,8 +17,7 @@ jobs:
1717
path: |
1818
~/.gradle/wrapper
1919
~/.gradle/caches
20-
.yarn/cache
21-
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle.*', 'yarn.lock') }}
20+
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle.*') }}
2221
restore-keys: |
2322
gradle-${{ runner.os }}
2423
gradle-
@@ -27,11 +26,11 @@ jobs:
2726
with:
2827
java-version: 11
2928
- name: Prepare
30-
run: ./gradlew clean prepareCi dependencies
29+
run: ./gradlew clean dependencies
3130
- name: Assemble Artefacts
3231
run: ./gradlew assemble
3332
env:
34-
ORG_GRADLE_PROJECT_githubRepository: ${{ github.repository }}
33+
ORG_GRADLE_PROJECT_githubRepository: ${{ github.repository }}
3534
- name: Release Artefacts
3635
run: ./gradlew release
3736
env:
@@ -54,8 +53,7 @@ jobs:
5453
path: |
5554
~/.gradle/wrapper
5655
~/.gradle/caches
57-
.yarn/cache
58-
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle.*', 'yarn.lock') }}
56+
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle.*') }}
5957
restore-keys: |
6058
gradle-${{ runner.os }}
6159
gradle-
@@ -64,7 +62,7 @@ jobs:
6462
with:
6563
java-version: 11
6664
- name: Prepare
67-
run: ./gradlew clean prepareCi dependencies
65+
run: ./gradlew clean dependencies
6866
- name: Generate Documentation
6967
run: ./gradlew dokkaHtml
7068
env:

0 commit comments

Comments
 (0)