@@ -369,16 +369,13 @@ jobs:
369369 run: npm i --prefer-online --no-fund --no-audit -g npm@latest
370370 - run: npm -v
371371 - name: Install deps
372- run: |
373- npm i -D @commitlint/cli @commitlint/config-conventional
372+ run: npm i -D @commitlint/cli @commitlint/config-conventional
374373 - name: Check commits OR PR title
375374 env:
376375 PR_TITLE: \${{ github.event.pull_request.title }}
377376 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
382379
383380.github/workflows/release-please.yml
384381========================================
@@ -1034,16 +1031,13 @@ jobs:
10341031 run: npm i --prefer-online --no-fund --no-audit -g npm@latest
10351032 - run: npm -v
10361033 - name: Install deps
1037- run: |
1038- npm i -D @commitlint/cli @commitlint/config-conventional
1034+ run: npm i -D @commitlint/cli @commitlint/config-conventional
10391035 - name: Check commits OR PR title
10401036 env:
10411037 PR_TITLE: \${{ github.event.pull_request.title }}
10421038 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
10471041
10481042.github/workflows/release-please-bbb.yml
10491043========================================
0 commit comments