Make WordPress Core


Ignore:
Timestamp:
02/17/2023 07:51:16 AM (3 years ago)
Author:
desrosj
Message:

Build/Test Tools: Backport updates to GitHub Actions.

This backports updates to GitHub Actions workflows required to address deprecated notices related to save-output and set-output.

Merges [54650], [54750], [54851], [54852], [54856], and [55152] to the 6.1 branch.
See #56882, #56820.

File:
1 edited

Legend:

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

    r54680 r55357  
    2020      # Any change to a JavaScript file should run tests.
    2121      - '**.js'
    22       # These files configure NPM. Changes could affect the outcome.
     22      # These files configure npm. Changes could affect the outcome.
    2323      - 'package*.json'
    2424      # This file configures ESLint. Changes could affect the outcome.
     
    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 NodeJS.
    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.
     
    5857    steps:
    5958      - name: Checkout repository
    60         uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
     59        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
     60
     61      - name: Set up Node.js
     62        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
     63        with:
     64          node-version-file: '.nvmrc'
     65          cache: npm
    6166
    6267      - name: Log debug information
     
    6772          svn --version
    6873
    69       - name: Install NodeJS
    70         uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
    71         with:
    72           node-version-file: '.nvmrc'
    73           cache: npm
    74 
    75       - name: Log debug information
    76         run: |
    77           npm --version
    78           node --version
    79 
    80       - name: Install Dependencies
     74      - name: Install npm Dependencies
    8175        run: npm ci
    8276
     
    115109    steps:
    116110      - name: Dispatch workflow run
    117         uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
     111        uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
    118112        with:
    119113          retries: 2
Note: See TracChangeset for help on using the changeset viewer.