Skip to content

Commit 862e292

Browse files
committed
Clarify comments in workflow.
1 parent cdfc358 commit 862e292

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/node.js.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ jobs:
8383
- run: npm ci
8484
# The [`ci`][1] command was [introduced][2] with npm@5, and is intended to
8585
# be used in continuous integration environments. If npm@5 or later is
86-
# installed, `npm ci` is executed to install dependencies. Otherwise,
87-
# `npm install` is executed.
86+
# installed and the package-lock.json file exists, `npm ci` is executed to
87+
# install dependencies. Otherwise, `npm install` is executed.
8888
#
8989
# [1]: https://docs.npmjs.com/cli/v10/commands/npm-ci
9090
# [2]: https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable

0 commit comments

Comments
 (0)