From fa744bd067d3056a25eeda4120c97c7509899871 Mon Sep 17 00:00:00 2001 From: Mehrshad Date: Thu, 14 Mar 2024 14:46:37 +0330 Subject: [PATCH] Revert "commitlint.sh,CI: use a previous version to fix CI" This reverts commit db33a6cc12eaa388ad67f50b71f88b2db227c75e. This commit message must contain "failing test" otherwise, the PR CI will be failed on `Sanity check` step. --- .github/workflows/CI.yml | 4 ++-- commitlint.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8cc77fa4..e3196a5c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -92,7 +92,7 @@ jobs: npm install --verboase --global yarn yarn add --dev jest typescript ts-jest @types/jest - name: Install commitlint dependencies - run: npm install --verbose @commitlint/types@18.6.1 + run: npm install --verbose @commitlint/types - name: Print versions run: | git --version @@ -122,7 +122,7 @@ jobs: npm install --verbose --global yarn yarn add --dev jest typescript ts-jest @types/jest ts-node - name: Install commitlint dependencies - run: npm install --verbose @commitlint/types@18.6.1 + run: npm install --verbose @commitlint/types - name: Run typescript compiler run: npx tsc - name: Print versions diff --git a/commitlint.sh b/commitlint.sh index 0bf2ed8b..d2f40b32 100755 --- a/commitlint.sh +++ b/commitlint.sh @@ -4,6 +4,6 @@ set -euxo pipefail # cd to directory of this script cd "$(dirname "$0")" npm install --verbose -npm install --verbose @commitlint/config-conventional@18.6.1 +npm install --verbose @commitlint/config-conventional npx commitlint --version npx commitlint $@