Skip to content

Commit b2c1056

Browse files
committed
CI,commitlint.sh: use --verbose for npm install
It seems CI has started failing since last night (so this commit will have red CI too), so let's add this flag to see what are the versions of the packages being installed.
1 parent b01d611 commit b2c1056

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/CI.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ jobs:
8989
npm --version
9090
- name: Install yarn
9191
run: |
92-
npm install --global yarn
92+
npm install --verboase --global yarn
9393
yarn add --dev jest typescript ts-jest @types/jest
9494
- name: Install commitlint dependencies
95-
run: npm install @commitlint/types
95+
run: npm install --verbose @commitlint/types
9696
- name: Print versions
9797
run: |
9898
git --version
@@ -119,10 +119,10 @@ jobs:
119119
sudo apt install --yes --no-install-recommends npm curl
120120
- name: Install yarn
121121
run: |
122-
npm install --global yarn
122+
npm install --verbose --global yarn
123123
yarn add --dev jest typescript ts-jest @types/jest ts-node
124124
- name: Install commitlint dependencies
125-
run: npm install @commitlint/types
125+
run: npm install --verbose @commitlint/types
126126
- name: Run typescript compiler
127127
run: npx tsc
128128
- name: Print versions
@@ -218,7 +218,7 @@ jobs:
218218
dotnet restore
219219
dotnet fsi scripts/sanityCheckNuget.fsx
220220
- name: Install prettier
221-
run: npm install [email protected]
221+
run: npm install --verbose [email protected]
222222
- name: Change file permissions
223223
# We need this step so we can change the files using `npx prettier --write` in the next step.
224224
# Otherwise we get permission denied error in the CI.

commitlint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euxo pipefail
33

44
# cd to directory of this script
55
cd "$(dirname "$0")"
6-
npm install
7-
npm install @commitlint/config-conventional
6+
npm install --verbose
7+
npm install --verbose @commitlint/config-conventional
88
npx commitlint --version
99
npx commitlint $@

0 commit comments

Comments
 (0)