diff --git a/.dockerignore b/.dockerignore index 7cd4dd2b..abc0c3b1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -26,6 +26,7 @@ # CI / quality-tool configs (not consumed at runtime) /phpstan.dist.neon +/phpstan-baseline.neon /phpunit.xml.dist /psalm.xml /psalm-baseline.xml @@ -65,7 +66,7 @@ launch.json /test-results/ /playwright-report/ /blob-report/ -/playwright/.cache/ +/playwright/ #< Playwright ###> vincentlanglet/twig-cs-fixer ### diff --git a/.github/workflows/github_build_release.yml b/.github/workflows/github_build_release.yml index 19aecc2f..66a54656 100644 --- a/.github/workflows/github_build_release.yml +++ b/.github/workflows/github_build_release.yml @@ -38,10 +38,13 @@ jobs: composer install --no-dev -o --classmap-authoritative docker compose run --rm --env APP_ENV=prod phpfpm composer clear-cache + - name: Set compose node user + run: echo "COMPOSE_NODE_USER=$(id -u):$(id -g)" >> "$GITHUB_ENV" + - name: NPM install and build run: | - docker compose run --rm node npm install - docker compose run --rm node npm run build + docker compose run --rm --env HOME=/tmp node npm install + docker compose run --rm --env HOME=/tmp node npm run build - name: Cleanup before packaging run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index f1acfdd4..9f043015 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +- Fixed `Create Github Release` workflow that failed cleanup because `node_modules/` was owned by root. + ## [3.0.0-rc1] - 2026-05-04 - Cleaned up and documented CI workflows; api-spec workflow now reports breaking changes. diff --git a/docker-compose.override.yml b/docker-compose.override.yml index ec0c8183..9897eddb 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -15,6 +15,7 @@ services: node: image: node:24 + user: "${COMPOSE_NODE_USER:-root}" command: npm run dev networks: - app