Skip to content

Commit ff48fdd

Browse files
fix(ci): npm -v on Node 18 only
1 parent fe9c552 commit ff48fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/node.js.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: volta pin node@${{ matrix.node-version }}
3030
- name: Node.js version
3131
run: node -v
32-
- name: npm version
32+
- if: ${{ matrix.node-version == '18.x' }}
3333
run: npm -v
3434

3535
# Node 8.3.0 comes with npm 5.3.0.

0 commit comments

Comments
 (0)