Changeset 49369 for trunk/.github/workflows/phpunit-tests.yml
- Timestamp:
- 10/29/2020 01:20:42 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/phpunit-tests.yml
r49244 r49369 29 29 # - Installs NodeJS 12 (todo: install the version of NPM specified in the `.nvmrc` file to support older branches) 30 30 # - Sets up caching for NPM. 31 # _ Installs NPM dependencies .31 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 32 32 # - Builds WordPress to run from the `build` directory. 33 33 # - Creates a ZIP file of compiled WordPress … … 52 52 - name: Log debug information 53 53 run: | 54 echo "$GITHUB_REF" 55 echo "$GITHUB_EVENT_NAME" 54 56 npm --version 55 57 node --version … … 78 80 79 81 - name: Install Dependencies 80 run: np m ci82 run: npx install-changed --install-command="npm ci" 81 83 82 84 - name: Build WordPress … … 87 89 with: 88 90 filename: built-wp-${{ github.sha }}.zip 89 exclusions: ' /*node_modules/*'91 exclusions: '*.git* /*node_modules/* packagehash.txt' 90 92 91 93 - name: Upload build artifact … … 105 107 # - Installs NodeJS 12 (todo: install the version of NPM specified in the `nvmrc` file to support older branches) 106 108 # - Sets up caching for NPM. 107 # _ Installs NPM dependencies .109 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 108 110 # - Configures caching for Composer. 109 111 # _ Installs Composer dependencies (if desired) … … 173 175 174 176 - name: Install Dependencies 175 run: np m ci177 run: npx install-changed --install-command="npm ci" 176 178 177 179 - name: Get composer cache directory
Note: See TracChangeset
for help on using the changeset viewer.