Skip to content

Commit 5e4be61

Browse files
committed
CI: Reusable step for printing npm version
1 parent 00c2750 commit 5e4be61

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.circleci/config.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ workflows:
1212
version: 2.1
1313

1414
commands:
15+
show-npm-version:
16+
steps:
17+
- run:
18+
name: Versions
19+
command: npm version
20+
1521
install-dependencies:
1622
parameters:
1723
cache-id:
@@ -48,9 +54,7 @@ jobs:
4854
type: boolean
4955
default: false
5056
steps:
51-
- run:
52-
name: Versions
53-
command: npm version
57+
- show-npm-version
5458
- checkout
5559
- install-dependencies:
5660
cache-id: solc-js

0 commit comments

Comments
 (0)