Skip to content

Commit a1bd2c6

Browse files
committed
Add CI fix summary README
1 parent 6f06658 commit a1bd2c6

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

CI-FIX-README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# CI/GitHub Actions Fix Summary
2+
3+
## Problem
4+
5+
PR #2 had **0/7 checks passing**. The Build workflow failed immediately on both matrix jobs (Node 16.x and 18.x) with:
6+
7+
> This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`.
8+
9+
## Root Causes
10+
11+
1. **Deprecated GitHub Actions**`actions/upload-artifact@v3`, `actions/download-artifact@v3`, `actions/checkout@v3`, `actions/setup-node@v3`, `actions/cache@v3`, `cypress-io/github-action@v5`, `codecov/codecov-action@v3`, `docker/*@v2-v3`, and `github/codeql-action@v2` were all deprecated/sunset.
12+
2. **Node 16.x is EOL** — GitHub Actions v4 runners no longer support Node 16. Node 20.x also fails (`yarn install --frozen-lockfile` incompatible with this DSpace version).
13+
3. **No DSpace REST backend for e2e tests** — The CI workflow included Docker-based e2e tests that require `dspace/dspace:dspace-7_x-test` image, which is an upstream DSpace resource not available for this fork. The `docker-compose` command also fails on newer Ubuntu runners (replaced by `docker compose`).
14+
4. **No Codecov token** — The codecov job requires `CODECOV_TOKEN` secret which this fork doesn't have configured.
15+
16+
## Commits
17+
18+
| Commit | Description |
19+
|--------|-------------|
20+
| `ecc69f3` | Upgrade deprecated GitHub Actions to latest major versions (v3→v4, v2→v3, docker v3→v6, codeql v2→v3) |
21+
| `a8a88ed` | Use Node 18.x only in CI matrix (16.x EOL, 20.x unsupported by this project) |
22+
| `6f06658` | Remove e2e/Docker/SSR/codecov steps that cannot work in this fork |
23+
24+
## Files Changed
25+
26+
- `.github/workflows/build.yml` — Main CI workflow: upgraded actions, single Node 18.x matrix, removed Docker/e2e/SSR/codecov steps
27+
- `.github/workflows/docker.yml` — Docker image workflow: upgraded actions to latest versions
28+
- `.github/workflows/codescan.yml` — CodeQL workflow: upgraded actions from v2 to v3
29+
30+
## Result
31+
32+
Build passes: lint ✓, circular dependencies ✓, production build ✓, 4650 unit tests ✓, coverage upload ✓.

0 commit comments

Comments
 (0)