Skip to content

Commit 226699b

Browse files
chore: Release v2.3.1
- Add Node.js setup and asset build steps to release workflow for minified assets
1 parent 6a62558 commit 226699b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
tools: composer
3030

3131
- name: Setup Node.js
32+
if: hashFiles('package.json') != ''
3233
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3334
with:
3435
node-version: '20'
@@ -51,9 +52,11 @@ jobs:
5152
run: composer install --no-interaction
5253

5354
- name: Install Node dependencies
55+
if: hashFiles('package.json') != ''
5456
run: npm ci
5557

5658
- name: Build assets
59+
if: hashFiles('package.json') != ''
5760
run: npm run build
5861

5962
- name: Update version

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
## [2.3.1] - 2026-03-09
1111

1212
### Changed
13+
1314
- **Release Pipeline**: Add Node.js setup and asset build steps to release workflow for minified assets
15+
- **Release Pipeline**: Make Node.js steps conditional on `package.json` existence to prevent CI failures
1416

1517
## [2.3.0] - 2026-03-03
1618

1719
### Fixed
20+
1821
- **Vendor Assets**: Ensure vendor package assets (CSS/JS) are included in release builds
1922

2023
### Changed
24+
2125
- **Release Pipeline**: Unify release workflow and build script across all plugins
2226
- Selective copy strategy replaces copy-all-then-clean approach
2327
- Remove `composer.json` from ZIP (not needed at runtime)
@@ -26,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2630
- Generate MD5 + SHA256 checksums
2731

2832
### Security
33+
2934
- **GitHub Actions**: Pin all dependencies to SHA hashes for supply chain protection
3035
- `actions/checkout@v4.3.1`
3136
- `shivammathur/setup-php@v2.36.0`

0 commit comments

Comments
 (0)