Changeset 50304 for branches/5.3/.github/workflows/end-to-end-tests.yml
- Timestamp:
- 02/12/2021 06:11:48 PM (4 years ago)
- Location:
- branches/5.3
- Files:
-
- 1 added
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
- Property svn:mergeinfo changed
/trunk merged: 49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298
- Property svn:mergeinfo changed
-
branches/5.3/.github/workflows/end-to-end-tests.yml
r49162 r50304 7 7 # The end to end test suite was introduced in WordPress 5.3. 8 8 - '5.[3-9]' 9 - '[6-9].*' 9 - '[6-9].[0-9]' 10 tags: 11 - '5.[3-9]*' 12 - '[6-9].[0-9]*' 10 13 pull_request: 11 14 … … 17 20 # 18 21 # Performs the following steps: 19 # - Cancels all previous workflow runs that have not completed.22 # - Cancels all previous workflow runs for pull requests that have not completed. 20 23 # - Set environment variables. 21 24 # - Checks out the repository. 22 25 # - Logs debug information about the runner container. 23 # - Installs NodeJS 1 2 (todo: install the version of NPM specified in the `.nvmrc` file to support older branches)26 # - Installs NodeJS 14. 24 27 # - Sets up caching for NPM. 25 # _ Installs NPM dependencies .28 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 26 29 # - Builds WordPress to run from the `build` directory. 27 30 # - Starts the WordPress Docker container. 28 31 # - Logs general debug information. 29 32 # - Logs the running Docker containers. 30 # - Logs Docker debug information (about both the Docker installation within the runner and the WordPress container) 33 # - Logs Docker debug information (about both the Docker installation within the runner and the WordPress container). 31 34 # - Install WordPress within the Docker container. 32 35 # - Run the E2E tests. … … 35 38 name: E2E Tests 36 39 runs-on: ubuntu-latest 40 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 41 37 42 steps: 38 - name: Cancel previous runs of this workflow 43 - name: Cancel previous runs of this workflow (pull requests only) 44 if: ${{ github.event_name == 'pull_request' }} 39 45 uses: styfle/cancel-workflow-action@0.5.0 40 46 with: … … 63 69 uses: actions/setup-node@v1 64 70 with: 65 node-version: 1 271 node-version: 14 66 72 67 73 - name: Cache NodeJS modules … … 77 83 78 84 - name: Install Dependencies 79 run: np m ci85 run: npx install-changed --install-command="npm ci" 80 86 81 87 - name: Build WordPress
Note: See TracChangeset
for help on using the changeset viewer.