Changeset 49369
- Timestamp:
- 10/29/2020 01:20:42 AM (4 years ago)
- Location:
- trunk/.github/workflows
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r49227 r49369 80 80 # - Sets up caching for NPM. 81 81 # - Logs updated debug information. 82 # _ Installs NPM dependencies .82 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 83 83 # - Run the WordPress JSHint checks. 84 84 # - todo: Configure Slack notifications for failing tests. … … 121 121 122 122 - name: Install Dependencies 123 run: np m ci123 run: npx install-changed --install-command="npm ci" 124 124 125 125 - name: Run JSHint -
trunk/.github/workflows/end-to-end-tests.yml
r49244 r49369 23 23 # - Installs NodeJS 12 (todo: install the version of NPM specified in the `.nvmrc` file to support older branches) 24 24 # - Sets up caching for NPM. 25 # _ Installs NPM dependencies .25 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 26 26 # - Builds WordPress to run from the `build` directory. 27 27 # - Starts the WordPress Docker container. … … 78 78 79 79 - name: Install Dependencies 80 run: np m ci80 run: npx install-changed --install-command="npm ci" 81 81 82 82 - name: Build WordPress -
trunk/.github/workflows/javascript-tests.yml
r49244 r49369 18 18 # - Sets up caching for NPM. 19 19 # - Logs updated debug information. 20 # _ Installs NPM dependencies .20 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 21 21 # - Run the WordPress QUnit tests. 22 22 # - todo: Configure Slack notifications for failing tests. … … 63 63 64 64 - name: Install Dependencies 65 run: np m ci65 run: npx install-changed --install-command="npm ci" 66 66 67 67 - name: Run QUnit tests -
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 -
trunk/.github/workflows/verify-npm-on-windows.yml
r49244 r49369 20 20 # - Installs NodeJS 12 (todo: install the version of NPM specified in the `.nvmrc` file to support older branches) 21 21 # - Sets up caching for NPM. 22 # _ Installs NPM dependencies .22 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 23 23 # - Builds WordPress to run from the `build` directory. 24 24 test-npm: … … 63 63 64 64 - name: Install Dependencies 65 run: np m ci65 run: npx install-changed --install-command="npm ci" 66 66 67 67 - name: Build WordPress
Note: See TracChangeset
for help on using the changeset viewer.