diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81ba31419..397cf44e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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"; diff --git a/Dockerfile b/Dockerfile index ca493aa3c..d27bdc8ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# syntax=docker/dockerfile:1.10 +# syntax=docker/dockerfile:1.25 FROM node:24.18.0-alpine AS base @@ -7,14 +7,9 @@ WORKDIR /app RUN apk add --no-cache libc6-compat curl bash && apk update RUN corepack enable pnpm -COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./ -COPY patches ./patches -RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \ - pnpm config set store-dir /pnpm/store && pnpm fetch - COPY . . RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \ - pnpm install --recursive --offline --frozen-lockfile + pnpm config set store-dir /pnpm/store && pnpm install --recursive --frozen-lockfile ARG SKIP_ENV_VALIDATION='true' ARG CI='true' diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e06cd9764..e3c7560a0 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -177,7 +177,7 @@ catalog: tsdav: ^2.3.0 tsx: 4.20.4 turbo: ^2.10.4 - typescript: ^6.0.3 + typescript: ^7.0.0 vite: ^8.1.2 undici: 7.28.0 use-deep-compare-effect: ^1.8.1