Make WordPress Core


Ignore:
Timestamp:
10/19/2022 06:18:45 PM (23 months ago)
Author:
desrosj
Message:

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

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

Fixes #56816.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/test-npm.yml

    r54511 r54650  
    1 name: Test NPM
     1name: Test npm
    22
    33on:
     
    1616      - '[4-9].[0-9]'
    1717    paths:
    18       # These files configure NPM. Changes could affect the outcome.
     18      # These files configure npm. Changes could affect the outcome.
    1919      - 'package*.json'
    20       # JavaScript files are built using NPM.
     20      # JavaScript files are built using npm.
    2121      - '**.js'
    22       # CSS and SCSS files are built using NPM.
     22      # CSS and SCSS files are built using npm.
    2323      - '**.scss'
    2424      - '**.css'
     
    3838
    3939jobs:
    40   # Verifies that installing NPM dependencies and building WordPress works as expected.
     40  # Verifies that installing npm dependencies and building WordPress works as expected.
    4141  #
    4242  # Performs the following steps:
    4343  # - Checks out the repository.
    4444  # - Logs debug information about the GitHub Action runner.
    45   # - Installs NodeJS.
    46   # _ Installs NPM dependencies.
     45  # - Installs Node.js.
     46  # _ Installs npm dependencies.
    4747  # - Builds WordPress to run from the `build` directory.
    4848  # - Cleans up after building WordPress to the `build` directory.
     
    5252  # - Ensures version-controlled files are not modified or deleted.
    5353  test-npm:
    54     name: Test NPM on ${{ matrix.os }}
     54    name: Test npm on ${{ matrix.os }}
    5555    runs-on: ${{ matrix.os }}
    5656    timeout-minutes: 20
     
    7373          svn --version
    7474
    75       - name: Install NodeJS
     75      - name: Install Node.js
    7676        uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
    7777        with:
     
    100100        run: git diff --exit-code
    101101
    102   # Verifies that installing NPM dependencies and building WordPress works as expected on MacOS.
     102  # Verifies that installing npm dependencies and building WordPress works as expected on MacOS.
    103103  #
    104104  # This is separate from the job above in order to use stricter conditions about when to run.
     
    108108  # - Checks out the repository.
    109109  # - Logs debug information about the GitHub Action runner.
    110   # - Installs NodeJS.
    111   # _ Installs NPM dependencies.
     110  # - Installs Node.js.
     111  # _ Installs npm dependencies.
    112112  # - Builds WordPress to run from the `build` directory.
    113113  # - Cleans up after building WordPress to the `build` directory.
     
    117117  # - Ensures version-controlled files are not modified or deleted.
    118118  test-npm-macos:
    119     name: Test NPM on MacOS
     119    name: Test npm on MacOS
    120120    runs-on: macos-latest
    121121    timeout-minutes: 30
     
    133133          svn --version
    134134
    135       - name: Install NodeJS
     135      - name: Install Node.js
    136136        uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
    137137        with:
Note: See TracChangeset for help on using the changeset viewer.