fix(docker): remove pnpm fetch to fix CI build with patched deps

pnpm fetch in pnpm 11.10.0 tries to apply patches during the fetch phase,
failing because packages aren't installed to node_modules yet.
Consolidated back to COPY . . + pnpm install.

Also bumps: docker/dockerfile 1.10->1.25, typescript ^6->^7,
actions/cache@v4->v6, actions/upload-artifact@v4->v7,
actions/github-script@v8->v9
This commit is contained in:
Thomas Camlong committed 2026-07-13 18:51:46 +02:00
1 parent ba7718bde5
commit f9fd3dac5a
3 files changed
+12 -17

No files matched your search

+9 -9
View File
@@ -60,7 +60,7 @@ jobs:
TURBO_PLATFORM: linux/amd64
steps:
- uses: actions/checkout@v7
if: '!env.ACT'
if: "!env.ACT"
with:
fetch-depth: 0
persist-credentials: false
@@ -111,7 +111,7 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v7
if: '!env.ACT'
if: "!env.ACT"
with:
persist-credentials: false
ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ref || '' }}
@@ -120,11 +120,11 @@ jobs:
uses: ./tooling/github/setup
- name: Set up Docker Buildx
if: '!env.ACT'
if: "!env.ACT"
uses: docker/setup-buildx-action@v4
- name: Build container once
if: '!env.ACT'
if: "!env.ACT"
uses: docker/build-push-action@v7
with:
context: .
@@ -165,9 +165,9 @@ jobs:
--tag homarr-ci --tag homarr-e2e "${secret_args[@]}" .
- name: Cache Playwright browsers
if: '!env.ACT'
if: "!env.ACT"
id: playwright-cache
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.cache/ms-playwright
key: playwright-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
@@ -185,7 +185,7 @@ jobs:
- name: Upload E2E artifacts
if: failure() && !env.ACT
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: playwright-report
path: e2e/test-results/
@@ -316,8 +316,8 @@ jobs:
run: test -n "$PR_NUMBER" || { echo "pr_number is required for cleanup"; exit 1; }
- name: Delete GHCR package version
if: '!env.ACT'
uses: actions/github-script@v8
if: "!env.ACT"
uses: actions/github-script@v9
with:
script: |
const packageName = "homarr-test";