Changeset 51357 for branches/5.8/.github/workflows/test-npm.yml
- Timestamp:
- 07/06/2021 07:12:23 PM (5 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
.github/workflows/test-npm.yml (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/.github/workflows/test-npm.yml
r50930 r51357 47 47 # - Builds WordPress to run from the `build` directory. 48 48 # - Cleans up after building WordPress to the `build` directory. 49 # - Ensures version-controlled files are not modified or deleted. 49 50 # - Builds WordPress to run from the `src` directory. 50 51 # - Cleans up after building WordPress to the `src` directory. 52 # - Ensures version-controlled files are not modified or deleted. 51 53 test-npm: 52 54 name: Test NPM on ${{ matrix.os }} … … 103 105 run: npm run grunt clean 104 106 107 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 108 run: git diff --exit-code 109 105 110 - name: Build WordPress in /src 106 111 run: npm run build:dev … … 108 113 - name: Clean after building in /src 109 114 run: npm run grunt clean -- --dev 115 116 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 117 run: git diff --exit-code 110 118 111 119 # Verifies that installing NPM dependencies and building WordPress works as expected on MacOS. … … 121 129 # - Builds WordPress to run from the `build` directory. 122 130 # - Cleans up after building WordPress to the `build` directory. 131 # - Ensures version-controlled files are not modified or deleted. 123 132 # - Builds WordPress to run from the `src` directory. 124 133 # - Cleans up after building WordPress to the `src` directory. 134 # - Ensures version-controlled files are not modified or deleted. 125 135 test-npm-macos: 126 136 name: Test NPM on MacOS … … 160 170 run: npm run grunt clean 161 171 172 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 173 run: git diff --exit-code 174 162 175 - name: Build WordPress in /src 163 176 run: npm run build:dev … … 165 178 - name: Clean after building in /src 166 179 run: npm run grunt clean -- --dev 180 181 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 182 run: git diff --exit-code
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)