diff --git a/.github/workflows/test-npm.yml b/.github/workflows/test-npm.yml index c377a121f8..4861ec9c9c 100644 --- a/.github/workflows/test-npm.yml +++ b/.github/workflows/test-npm.yml @@ -81,15 +81,6 @@ jobs: - name: Install Dependencies run: npm ci - - name: Build WordPress - run: npm run build - - - name: Clean after building - run: npm run grunt clean - - - name: Ensure version-controlled files are not modified or deleted during building and cleaning - run: git diff --exit-code - - name: Build WordPress in /src run: npm run build:dev @@ -99,6 +90,15 @@ jobs: - name: Ensure version-controlled files are not modified or deleted during building and cleaning run: git diff --exit-code + - name: Build WordPress + run: npm run build + + - name: Clean after building + run: npm run grunt clean + + - name: Ensure version-controlled files are not modified or deleted during building and cleaning + run: git diff --exit-code + # Verifies that installing NPM dependencies and building WordPress works as expected on MacOS. # # This is separate from the job above in order to use stricter conditions about when to run. @@ -141,15 +141,6 @@ jobs: - name: Install Dependencies run: npm ci - - name: Build WordPress - run: npm run build - - - name: Clean after building - run: npm run grunt clean - - - name: Ensure version-controlled files are not modified or deleted during building and cleaning - run: git diff --exit-code - - name: Build WordPress in /src run: npm run build:dev @@ -159,6 +150,15 @@ jobs: - name: Ensure version-controlled files are not modified or deleted during building and cleaning run: git diff --exit-code + - name: Build WordPress + run: npm run build + + - name: Clean after building + run: npm run grunt clean + + - name: Ensure version-controlled files are not modified or deleted during building and cleaning + run: git diff --exit-code + slack-notifications: name: Slack Notifications uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk