Skip to content

Update actions artifact#286

Merged
Ma11hewThomas merged 3 commits into
mainfrom
update-actions-artifact
May 3, 2026
Merged

Update actions artifact#286
Ma11hewThomas merged 3 commits into
mainfrom
update-actions-artifact

Conversation

@Ma11hewThomas
Copy link
Copy Markdown
Contributor

No description provided.

Update direct dep:
- glob: 11.0.3 → 11.1.0

Add npm overrides for nested transitive security patches:
- ajv@^6: 6.12.6 → 6.14.0
- minimatch@^3: 3.1.2 → 3.1.5
- js-yaml@^3: 3.14.1 → 3.14.2
- lodash@^4: 4.17.21 → 4.17.23
- glob@^10: 10.4.5 → 10.5.0 (archiver-utils)

Skipped: @octokit/request-error 2.x → 5.x
  @actions/artifact nests @octokit/core@3.6.0 which was built
  against the 2.x API; forcing a major version override would
  break artifact upload/download at runtime.
v5.0.3 is the latest CommonJS-compatible release. v6+ switched to
pure ESM which is incompatible with @vercel/ncc bundler.

Changes:
- @actions/artifact: 2.3.2 → 5.0.3
  Eliminates nested @octokit/request-error@2.1.0 (CVE fix).
  v5 depends directly on @octokit/request-error@^5.1.1.

- Add src/__mocks__/actions-artifact.ts
  v5's @actions/artifact has an updated internal octokit stack
  that Jest (CJS) needed a mock for; follows existing mock pattern.

- package.json: add @actions/artifact mock to moduleNameMapper

Skipped v6+ (ESM-only, incompatible with ncc bundler).
glob 12+/13 still ships the same API (import { glob } from 'glob').
Node engine requirement is '20 || >=22' — project requires >=24 so satisfied.
Tests pass and ncc bundle succeeds.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 3, 2026

build-and-test: Run #1515

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
89 89 0 0 0 0 0 17.6s

🎉 All tests passed!

Github Test Reporter by CTRF 💚

@Ma11hewThomas Ma11hewThomas merged commit 7a455c0 into main May 3, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant