Make WordPress Core


Ignore:
Timestamp:
03/25/2021 07:59:44 PM (4 years ago)
Author:
desrosj
Message:

Build/Test Tools: Backport several GitHub Action improvements and dependency updates.

This backports several GitHub Action improvements and devDependency updates to the 5.7 branch.

Backports [50432,50435-50436,50479,50485-50487,50545,50579] to the 5.7 branch.
See #52667, #52643, #52658, #52660, #52624, #52625.

Location:
branches/5.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.7

  • branches/5.7/.github/workflows/end-to-end-tests.yml

    r50387 r50584  
    22
    33on:
     4  # The end to end test suite was introduced in WordPress 5.3.
    45  push:
    56    branches:
    67      - master
    7       # The end to end test suite was introduced in WordPress 5.3.
     8      - trunk
    89      - '5.[3-9]'
    910      - '[6-9].[0-9]'
     
    1213      - '[6-9].[0-9]*'
    1314  pull_request:
     15    branches:
     16      - master
     17      - trunk
     18      - '5.[3-9]'
     19      - '[6-9].[0-9]'
    1420
    1521env:
     
    4349      - name: Cancel previous runs of this workflow (pull requests only)
    4450        if: ${{ github.event_name == 'pull_request' }}
    45         uses: styfle/cancel-workflow-action@0.8.0
    46         with:
    47           access_token: ${{ github.token }}
     51        uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # v0.8.0
    4852
    4953      - name: Configure environment variables
     
    5357
    5458      - name: Checkout repository
    55         uses: actions/checkout@v2
     59        uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
    5660
    5761      - name: Log debug information
     
    6771
    6872      - name: Install NodeJS
    69         uses: actions/setup-node@v2
     73        uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.5
    7074        with:
    7175          node-version: 14
    7276
    7377      - name: Cache NodeJS modules
    74         uses: actions/cache@v2
     78        uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4
    7579        env:
    7680          cache-name: cache-node-modules
     
    7983          path: ~/.npm
    8084          key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
    81           restore-keys: |
    82             ${{ runner.os }}-npm-
    8385
    8486      - name: Install Dependencies
    85         run: npx install-changed --install-command="npm ci"
     87        run: npm ci
    8688
    8789      - name: Build WordPress
Note: See TracChangeset for help on using the changeset viewer.