Changeset 51355 for trunk/.github/workflows/test-npm.yml
- Timestamp:
- 07/06/2021 06:36:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/test-npm.yml
r51341 r51355 46 46 # - Builds WordPress to run from the `build` directory. 47 47 # - Cleans up after building WordPress to the `build` directory. 48 # - Ensures version-controlled files are not modified or deleted. 48 49 # - Builds WordPress to run from the `src` directory. 49 50 # - Cleans up after building WordPress to the `src` directory. 51 # - Ensures version-controlled files are not modified or deleted. 50 52 test-npm: 51 53 name: Test NPM on ${{ matrix.os }} … … 84 86 run: npm run grunt clean 85 87 88 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 89 run: git diff --exit-code 90 86 91 - name: Build WordPress in /src 87 92 run: npm run build:dev … … 89 94 - name: Clean after building in /src 90 95 run: npm run grunt clean -- --dev 96 97 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 98 run: git diff --exit-code 91 99 92 100 # Verifies that installing NPM dependencies and building WordPress works as expected on MacOS. … … 101 109 # - Builds WordPress to run from the `build` directory. 102 110 # - Cleans up after building WordPress to the `build` directory. 111 # - Ensures version-controlled files are not modified or deleted. 103 112 # - Builds WordPress to run from the `src` directory. 104 113 # - Cleans up after building WordPress to the `src` directory. 114 # - Ensures version-controlled files are not modified or deleted. 105 115 test-npm-macos: 106 116 name: Test NPM on MacOS … … 134 144 run: npm run grunt clean 135 145 146 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 147 run: git diff --exit-code 148 136 149 - name: Build WordPress in /src 137 150 run: npm run build:dev … … 139 152 - name: Clean after building in /src 140 153 run: npm run grunt clean -- --dev 154 155 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 156 run: git diff --exit-code
Note: See TracChangeset
for help on using the changeset viewer.