Make WordPress Core


Ignore:
Timestamp:
04/08/2022 06:37:20 PM (2 years ago)
Author:
desrosj
Message:

Build/Test Tools: Update all 3rd party actions to their latest versions.

This updates all 3rd party GitHub actions to their latest versions.

  • actions/cache from 2.1.6 to 3.0.1.
  • actions/github-script from 5.0.0 to 6.0.0.
  • actions/setup-node from 2.4.1 to 3.1.0.
  • codecov/codecov-action from 2.1.0 to 3.0.0.
  • ramsey/composer-install from 1.3.0 to 2.1.0.
  • shivammathur/setup-php from 2.15.0 to 2.18.0.

Additionally, this updates all instances of the actions/setup-node action to replace the node-version option with the new node-version-file. This simplifies the process of changing the version of NodeJS used in workflows by only requiring the version to be changed once in the .nvmrc file.

See #54725.

File:
1 edited

Legend:

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

    r52233 r53112  
    7171
    7272      - name: Install NodeJS
    73         uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
     73        uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
    7474        with:
    75           node-version: 14
     75          node-version-file: '.nvmrc'
    7676          cache: npm
    7777
     
    130130
    131131      - name: Install NodeJS
    132         uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
     132        uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
    133133        with:
    134           node-version: 14
     134          node-version-file: '.nvmrc'
    135135          cache: npm
    136136
Note: See TracChangeset for help on using the changeset viewer.