General: Correctly refer to “npm” and “Node.js”.

This update all references to npm and Node.js to their correct spelling.

Fixes #56816.

git-svn-id: https://develop.svn.wordpress.org/trunk@54650 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2022-10-19 18:18:45 +00:00
parent 47af196e14
commit 16699c3868
10 changed files with 38 additions and 38 deletions
+4 -4
View File
@@ -21,7 +21,7 @@ on:
# Any change to a PHP or JavaScript file should run checks.
- '**.js'
- '**.php'
# These files configure NPM. Changes could affect the outcome.
# These files configure npm. Changes could affect the outcome.
- 'package*.json'
# These files configure Composer. Changes could affect the outcome.
- 'composer.*'
@@ -125,9 +125,9 @@ jobs:
# Performs the following steps:
# - Checks out the repository.
# - Logs debug information about the GitHub Action runner.
# - Installs NodeJS.
# - Installs Node.js.
# - Logs updated debug information.
# _ Installs NPM dependencies.
# _ Installs npm dependencies.
# - Run the WordPress JSHint checks.
# - Ensures version-controlled files are not modified or deleted.
jshint:
@@ -149,7 +149,7 @@ jobs:
git --version
svn --version
- name: Install NodeJS
- name: Install Node.js
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
with:
node-version-file: '.nvmrc'