Changeset 50626 for branches/3.7/.github/workflows/end-to-end-tests.yml
- Timestamp:
- 03/31/2021 07:51:58 PM (4 years ago)
- Location:
- branches/3.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
/trunk merged: 50379,50387,50432,50435-50436,50444,50446,50473-50474,50476,50479,50485-50487,50545,50579,50590
- Property svn:mergeinfo changed
-
branches/3.7/.github/workflows/end-to-end-tests.yml
r50324 r50626 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]' 20 workflow_dispatch: 14 21 15 22 env: … … 43 50 - name: Cancel previous runs of this workflow (pull requests only) 44 51 if: ${{ github.event_name == 'pull_request' }} 45 uses: styfle/cancel-workflow-action@0.5.0 46 with: 47 access_token: ${{ github.token }} 52 uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # v0.8.0 48 53 49 54 - name: Configure environment variables … … 53 58 54 59 - name: Checkout repository 55 uses: actions/checkout@ v260 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 56 61 57 62 - name: Log debug information … … 67 72 68 73 - name: Install NodeJS 69 uses: actions/setup-node@ v174 uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.5 70 75 with: 71 76 node-version: 14 72 77 73 78 - name: Cache NodeJS modules 74 uses: actions/cache@ v279 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 75 80 env: 76 81 cache-name: cache-node-modules … … 79 84 path: ~/.npm 80 85 key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} 81 restore-keys: |82 ${{ runner.os }}-npm-83 86 84 87 - name: Install Dependencies 85 run: np x install-changed --install-command="npm ci"88 run: npm ci 86 89 87 90 - name: Build WordPress
Note: See TracChangeset
for help on using the changeset viewer.