Changeset 50584 for branches/5.7/.github/workflows/end-to-end-tests.yml
- Timestamp:
- 03/25/2021 07:59:44 PM (4 years ago)
- Location:
- branches/5.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.7
- Property svn:mergeinfo changed
/trunk merged: 50432,50435-50436,50479,50485-50487,50545,50579
- Property svn:mergeinfo changed
-
branches/5.7/.github/workflows/end-to-end-tests.yml
r50387 r50584 2 2 3 3 on: 4 # The end to end test suite was introduced in WordPress 5.3. 4 5 push: 5 6 branches: 6 7 - master 7 # The end to end test suite was introduced in WordPress 5.3.8 - trunk 8 9 - '5.[3-9]' 9 10 - '[6-9].[0-9]' … … 12 13 - '[6-9].[0-9]*' 13 14 pull_request: 15 branches: 16 - master 17 - trunk 18 - '5.[3-9]' 19 - '[6-9].[0-9]' 14 20 15 21 env: … … 43 49 - name: Cancel previous runs of this workflow (pull requests only) 44 50 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 48 52 49 53 - name: Configure environment variables … … 53 57 54 58 - name: Checkout repository 55 uses: actions/checkout@ v259 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 56 60 57 61 - name: Log debug information … … 67 71 68 72 - name: Install NodeJS 69 uses: actions/setup-node@ v273 uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.5 70 74 with: 71 75 node-version: 14 72 76 73 77 - name: Cache NodeJS modules 74 uses: actions/cache@ v278 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 75 79 env: 76 80 cache-name: cache-node-modules … … 79 83 path: ~/.npm 80 84 key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} 81 restore-keys: |82 ${{ runner.os }}-npm-83 85 84 86 - name: Install Dependencies 85 run: np x install-changed --install-command="npm ci"87 run: npm ci 86 88 87 89 - name: Build WordPress
Note: See TracChangeset
for help on using the changeset viewer.