Skip to content

Commit 15795b2

Browse files
authored
Merge branch 'WordPress:trunk' into trunk
2 parents 4810596 + f8426c2 commit 15795b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+6451
-9640
lines changed

.github/workflows/test-npm.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
runs-on: ${{ matrix.os }}
5656
timeout-minutes: 20
5757
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
58-
continue-on-error: ${{ matrix.os == 'windows-latest' }}
5958
strategy:
6059
fail-fast: false
6160
matrix:
@@ -82,20 +81,20 @@ jobs:
8281
- name: Install Dependencies
8382
run: npm ci
8483

85-
- name: Build WordPress
86-
run: npm run build
84+
- name: Build WordPress in /src
85+
run: npm run build:dev
8786

88-
- name: Clean after building
89-
run: npm run grunt clean
87+
- name: Clean after building in /src
88+
run: npm run grunt clean -- --dev
9089

9190
- name: Ensure version-controlled files are not modified or deleted during building and cleaning
9291
run: git diff --exit-code
9392

94-
- name: Build WordPress in /src
95-
run: npm run build:dev
93+
- name: Build WordPress
94+
run: npm run build
9695

97-
- name: Clean after building in /src
98-
run: npm run grunt clean -- --dev
96+
- name: Clean after building
97+
run: npm run grunt clean
9998

10099
- name: Ensure version-controlled files are not modified or deleted during building and cleaning
101100
run: git diff --exit-code
@@ -119,7 +118,7 @@ jobs:
119118
test-npm-macos:
120119
name: Test NPM on MacOS
121120
runs-on: macos-latest
122-
timeout-minutes: 20
121+
timeout-minutes: 30
123122
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
124123
steps:
125124
- name: Checkout repository
@@ -142,20 +141,20 @@ jobs:
142141
- name: Install Dependencies
143142
run: npm ci
144143

145-
- name: Build WordPress
146-
run: npm run build
144+
- name: Build WordPress in /src
145+
run: npm run build:dev
147146

148-
- name: Clean after building
149-
run: npm run grunt clean
147+
- name: Clean after building in /src
148+
run: npm run grunt clean -- --dev
150149

151150
- name: Ensure version-controlled files are not modified or deleted during building and cleaning
152151
run: git diff --exit-code
153152

154-
- name: Build WordPress in /src
155-
run: npm run build:dev
153+
- name: Build WordPress
154+
run: npm run build
156155

157-
- name: Clean after building in /src
158-
run: npm run grunt clean -- --dev
156+
- name: Clean after building
157+
run: npm run grunt clean
159158

160159
- name: Ensure version-controlled files are not modified or deleted during building and cleaning
161160
run: git diff --exit-code

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ wp-tests-config.php
2727
/src/wp-admin/css/*-rtl.css
2828
/src/wp-admin/css/colors/*/*.css
2929
/src/wp-admin/js
30+
/src/wp-includes/assets/*
31+
!/src/wp-includes/assets/script-loader-packages.min.php
3032
/src/wp-includes/js
3133
/src/wp-includes/css/dist
3234
/src/wp-includes/css/*.min.css

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module.exports = function(grunt) {
125125
'webpack-assets': [
126126
WORKING_DIR + 'wp-includes/assets/*',
127127
WORKING_DIR + 'wp-includes/css/dist/',
128-
'!' + WORKING_DIR + 'wp-includes/assets/script-loader-*.php'
128+
'!' + WORKING_DIR + 'wp-includes/assets/script-loader-packages.min.php'
129129
],
130130
dynamic: {
131131
dot: true,

0 commit comments

Comments
 (0)