|
38 | 38 | # |
39 | 39 | # Performs the following steps: |
40 | 40 | # - Checks out the repository. |
41 | | - # - Logs debug information about the runner container. |
42 | | - # - Installs NodeJS 14. |
43 | | - # _ Installs NPM dependencies using install-changed to hash the `package.json` file. |
| 41 | + # - Logs debug information about the GitHub Action runner. |
| 42 | + # - Installs NodeJS. |
| 43 | + # _ Installs NPM dependencies. |
44 | 44 | # - Builds WordPress to run from the `build` directory. |
45 | 45 | # - Cleans up after building WordPress to the `build` directory. |
46 | 46 | # - Ensures version-controlled files are not modified or deleted. |
@@ -98,13 +98,14 @@ jobs: |
98 | 98 |
|
99 | 99 | # Verifies that installing NPM dependencies and building WordPress works as expected on MacOS. |
100 | 100 | # |
101 | | - # This is a separate job in order to that more strict conditions can be used. |
| 101 | + # This is separate from the job above in order to use stricter conditions about when to run. |
| 102 | + # This avoids unintentionally consuming excessive minutes, as MacOS jobs consume minutes at a 10x rate. |
102 | 103 | # |
103 | 104 | # Performs the following steps: |
104 | 105 | # - Checks out the repository. |
105 | | - # - Logs debug information about the runner container. |
106 | | - # - Installs NodeJS 14. |
107 | | - # _ Installs NPM dependencies using install-changed to hash the `package.json` file. |
| 106 | + # - Logs debug information about the GitHub Action runner. |
| 107 | + # - Installs NodeJS. |
| 108 | + # _ Installs NPM dependencies. |
108 | 109 | # - Builds WordPress to run from the `build` directory. |
109 | 110 | # - Cleans up after building WordPress to the `build` directory. |
110 | 111 | # - Ensures version-controlled files are not modified or deleted. |
|
0 commit comments