- 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/verify-npm-on-windows.yml
r49162 r50304 5 5 branches: 6 6 - master 7 - '*.*' 7 - '3.[7-9]' 8 - '[4-9].[0-9]' 8 9 pull_request: 10 11 env: 12 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }} 9 13 10 14 jobs: … … 12 16 # 13 17 # Performs the following steps: 14 # - Cancels all previous workflow runs that have not completed.18 # - Cancels all previous workflow runs for pull requests that have not completed. 15 19 # - Checks out the repository. 16 20 # - Logs debug information about the runner container. 17 # - Installs NodeJS 1 2 (todo: install the version of NPM specified in the `.nvmrc` file to support older branches)21 # - Installs NodeJS 14. 18 22 # - Sets up caching for NPM. 19 # _ Installs NPM dependencies .23 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 20 24 # - Builds WordPress to run from the `build` directory. 21 25 test-npm: 22 26 name: Tests NPM on Windows 23 27 runs-on: windows-latest 28 if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} 29 24 30 steps: 25 - name: Cancel previous runs of this workflow 31 - name: Cancel previous runs of this workflow (pull requests only) 32 if: ${{ github.event_name == 'pull_request' }} 26 33 uses: styfle/cancel-workflow-action@0.5.0 27 34 with: … … 42 49 uses: actions/setup-node@v1 43 50 with: 44 node-version: 1 251 node-version: 14 45 52 46 53 - name: Get NPM cache directory … … 59 66 60 67 - name: Install Dependencies 61 run: np m ci68 run: npx install-changed --install-command="npm ci" 62 69 63 70 - name: Build WordPress
Note: See TracChangeset
for help on using the changeset viewer.