Fix CI: replace yarn with npm, add package-lock.json

The CI runner does not have yarn installed. Switch to npm install
and npm run build. Also add package-lock.json for reproducible
installs and exclude it from the release ZIP.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-02-08 03:13:18 +01:00
parent 9bb7f4f47f
commit f14f3e614e
2 changed files with 2267 additions and 2 deletions

View File

@@ -52,10 +52,10 @@ jobs:
echo "Building version: $VERSION"
- name: Install Node dependencies
run: yarn install --frozen-lockfile
run: npm install
- name: Build assets
run: yarn build
run: npm run build
- name: Validate composer.json
run: composer validate --no-check-lock --no-check-all
@@ -112,6 +112,7 @@ jobs:
-x "${THEME_NAME}/node_modules/*" \
-x "${THEME_NAME}/src/*" \
-x "${THEME_NAME}/package.json" \
-x "${THEME_NAME}/package-lock.json" \
-x "${THEME_NAME}/yarn.lock" \
-x "${THEME_NAME}/composer.json" \
-x "${THEME_NAME}/composer.lock" \

2264
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff