We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7ba9d7 commit dd9e5d9Copy full SHA for dd9e5d9
.github/workflows/build.yml
@@ -8,8 +8,6 @@ jobs:
8
steps:
9
- name: Checkout repository
10
uses: actions/checkout@v3
11
- with:
12
- fetch-depth: 0
13
14
- name: Use Node.js
15
uses: actions/setup-node@v3
@@ -27,9 +25,6 @@ jobs:
27
25
if: steps.cache.outputs.cache-hit != 'true'
28
26
run: npm install --prefer-offline
29
30
- - name: Lint commit message
31
- run: npx commitlint --from=HEAD~1
32
-
33
- name: Lint JavaScript files
34
run: npm run lint
35
.github/workflows/commitlint.yml
@@ -0,0 +1,15 @@
1
+name: commitlint
2
+on: [push, pull_request]
3
+
4
+jobs:
5
+ commitlint:
6
+ runs-on: ubuntu-latest
7
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - name: Lint commit message
+ run: npx commitlint --from=HEAD~1
0 commit comments