Skip to content

Commit cffa478

Browse files
committed
fix(ci): resolve Next.js 16 CI failures for starter example
Pin @wordpress/block-library to exact 9.10.0 to prevent SCSS import breakage in E2E tests, add --webpack flag to bundle analysis build for Turbopack compatibility, and drop Node 18 from E2E matrix to match engines requirement.
1 parent c8c4c85 commit cffa478

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/e2e-next-faustwp-example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
PR_BRANCH: ${{github.event.pull_request.head.ref}}
1515
strategy:
1616
matrix:
17-
node: ['18', '20', '22']
17+
node: ['20', '22']
1818
defaults:
1919
run:
2020
working-directory: ./

.github/workflows/nextjs-bundle-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Build Next.js example app
8181
working-directory: ${{ matrix.next-dir }}
82-
run: npm run build
82+
run: npm run build -- --webpack
8383

8484
# Here's the first place where next-bundle-analysis' own script is used
8585
# This step pulls the raw bundle stats for the current bundle

examples/next/faustwp-getting-started/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@faustwp/cli": "^3.3.6",
1515
"@faustwp/core": "^3.3.6",
1616
"@wordpress/base-styles": "^6.15.0",
17-
"@wordpress/block-library": "^9.10.0",
17+
"@wordpress/block-library": "9.10.0",
1818
"classnames": "^2.5.1",
1919
"graphql": "^16.12.0",
2020
"next": "^16.1.6",

0 commit comments

Comments
 (0)