Make WordPress Core


Ignore:
Timestamp:
11/16/2022 07:32:57 PM (2 years ago)
Author:
desrosj
Message:

Build/Test Tools: Various minor GitHub Action improvements.

This applies several types of improvements to GitHub Action workflows:

  • Updates to inline documentation to ensure accuracy.
  • Removal of repetitive or unnecessary debug logging.
  • Reorganization of some steps to have configuration steps towards the beginning of jobs.
  • Step name updates for consistency across workflows.

Props desrosj, jrf.
See #56793.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/javascript-tests.yml

    r54674 r54851  
    4444  # Performs the following steps:
    4545  # - Checks out the repository.
     46  # - Sets up Node.js.
    4647  # - Logs debug information about the GitHub Action runner.
    47   # - Installs Node.js.
    48   # - Logs updated debug information.
    49   # _ Installs npm dependencies.
     48  # - Installs npm dependencies.
    5049  # - Run the WordPress QUnit tests.
    5150  # - Ensures version-controlled files are not modified or deleted.
     
    6059        uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
    6160
    62       - name: Log debug information
    63         run: |
    64           npm --version
    65           node --version
    66           git --version
    67           svn --version
    68 
    69       - name: Install Node.js
     61      - name: Set up Node.js
    7062        uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
    7163        with:
     
    7769          npm --version
    7870          node --version
     71          git --version
     72          svn --version
    7973
    80       - name: Install Dependencies
     74      - name: Install npm Dependencies
    8175        run: npm ci
    8276
Note: See TracChangeset for help on using the changeset viewer.