fix(ci): repair docker build and consolidate CI/release workflows
The pnpm-fetch layer added in #6296 broke the release build: pnpm 11.10.0 applies patchedDependencies during `pnpm fetch`, before node_modules exists, crashing with ENOENT. Install directly from the full context with the store cache mounted instead. Also audit and consolidate the workflows: - standardize action majors (cache@v6, upload-artifact@v7, github-script@v9) - provision Node from mise.toml via jdx/mise-action; drop .nvmrc - rename deployment-docker-image.yml -> deployment-release.yml, reuse the shared setup action, and scope GITHUB_TOKEN permissions per job - extract the duplicated beta/weekly release logic into a reusable deployment-release-pr.yml called by thin triggers
This commit is contained in:
9 files changed
+242
-215
No files matched your search
@@ -167,7 +167,7 @@ jobs:
|
||||
- name: Cache Playwright browsers
|
||||
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/
|
||||
@@ -317,7 +317,7 @@ jobs:
|
||||
|
||||
- name: Delete GHCR package version
|
||||
if: '!env.ACT'
|
||||
uses: actions/github-script@v8
|
||||
uses: actions/github-script@v9
|
||||
with:
|
||||
script: |
|
||||
const packageName = "homarr-test";
|
||||
|
||||
Reference in new issue
Block a user