@@ -369,16 +369,13 @@ jobs:
369
369
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
370
370
- run: npm -v
371
371
- name: Install deps
372
- run: |
373
- npm i -D @commitlint/cli @commitlint/config-conventional
372
+ run: npm i -D @commitlint/cli @commitlint/config-conventional
374
373
- name: Check commits OR PR title
375
374
env:
376
375
PR_TITLE: \${{ github.event.pull_request.title }}
377
376
run: |
378
- npx commitlint -x @commitlint/config-conventional -V /
379
- --from origin/main --to \${{ github.event.pull_request.head.sha }} /
380
- || echo $PR_TITLE | /
381
- npx commitlint -x @commitlint/config-conventional -V
377
+ npx --offline commitlint -V --from origin/main --to \${{ github.event.pull_request.head.sha }} /
378
+ || echo $PR_TITLE | npx --offline commitlint -V
382
379
383
380
.github/workflows/release-please.yml
384
381
========================================
@@ -1034,16 +1031,13 @@ jobs:
1034
1031
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
1035
1032
- run: npm -v
1036
1033
- name: Install deps
1037
- run: |
1038
- npm i -D @commitlint/cli @commitlint/config-conventional
1034
+ run: npm i -D @commitlint/cli @commitlint/config-conventional
1039
1035
- name: Check commits OR PR title
1040
1036
env:
1041
1037
PR_TITLE: \${{ github.event.pull_request.title }}
1042
1038
run: |
1043
- npx commitlint -x @commitlint/config-conventional -V /
1044
- --from origin/main --to \${{ github.event.pull_request.head.sha }} /
1045
- || echo $PR_TITLE | /
1046
- npx commitlint -x @commitlint/config-conventional -V
1039
+ npx --offline commitlint -V --from origin/main --to \${{ github.event.pull_request.head.sha }} /
1040
+ || echo $PR_TITLE | npx --offline commitlint -V
1047
1041
1048
1042
.github/workflows/release-please-bbb.yml
1049
1043
========================================
0 commit comments