Switch frontend package management to pnpm
CI/CD / test_and_check_app (push) Failing after 2m5s
CI/CD / Publish immutable image (push) Skipped

This commit is contained in:
2026-09-10 21:33:01 +02:00
parent 2caafb83b6
commit 2d5479090b
7 changed files with 3667 additions and 5527 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: test_and_check_app
description: Build the test image and run all application checks
description: Build the test image with pnpm and run all application checks
runs:
using: composite
+3 -2
View File
@@ -67,8 +67,9 @@ COPY --from=node_binary /usr/local/ /usr/local/
COPY . /var/www
RUN composer install --prefer-dist --no-interaction --no-progress \
&& npm ci \
&& npm run build
&& corepack enable pnpm \
&& pnpm install --frozen-lockfile \
&& pnpm run build
FROM build AS test
+5 -5
View File
@@ -48,8 +48,8 @@
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"@php artisan key:generate",
"@php artisan migrate --force",
"npm install",
"npm run build"
"pnpm install --frozen-lockfile",
"pnpm run build"
],
"dev": [
"Composer\\Config::disableProcessTimeout",
@@ -63,9 +63,9 @@
],
"ci:check": [
"Composer\\Config::disableProcessTimeout",
"npm audit --audit-level=high",
"npm run lint:check",
"npm run types:check",
"pnpm audit --audit-level=high",
"pnpm run check",
"pnpm run types:check",
"@test"
],
"types:check": [
-5518
View File
File diff suppressed because it is too large Load Diff
+8
View File
@@ -46,5 +46,13 @@
"@tailwindcss/oxide-win32-x64-msvc": "^4.0.1",
"lightningcss-linux-x64-gnu": "^1.29.1",
"lightningcss-win32-x64-msvc": "^1.29.1"
},
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "11.9.0",
"onFail": "error"
}
},
"packageManager": "pnpm@11.9.0"
}
+3647
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -1,5 +1,7 @@
packages:
- '.'
ignoreScripts: true
publicHoistPattern:
- '@inertiajs/core'