Skip to content

ci: run GitHub Actions on Node 24#76

Merged
cdot65 merged 2 commits into
mainfrom
cdot65/ci-node24
May 21, 2026
Merged

ci: run GitHub Actions on Node 24#76
cdot65 merged 2 commits into
mainfrom
cdot65/ci-node24

Conversation

@cdot65

@cdot65 cdot65 commented May 21, 2026

Copy link
Copy Markdown
Owner

Summary

Silences the GitHub "Node.js 20 actions are deprecated" warnings by moving all workflows onto Node 24.

  • actions/checkout v4→v5, actions/setup-node v4→v5, actions/setup-python v5→v6 (their newer majors ship the Node 24 runtime).
  • Project node-version 20→24 in ci.yml + redteam-scan.yml (matches publish.yml, which already runs Node 24).
  • FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' added to docker-publish.yml (docker/* actions) and mkdocs-deploy.yml (Pages actions), which have no newer major yet — so they run on Node 24 too.
  • pnpm/action-setup@v4 left as-is (composite action, not flagged).

Test plan

  • This PR's CI runs ci.yml from the head branch → validates the upgraded actions and that lint/typecheck/test/docs build pass on Node 24.
  • mkdocs-deploy verified on merge to main (runs on push).
  • publish/docker-publish exercised at next release/tag.

cdot65 added 2 commits May 21, 2026 13:08
- Bump actions/checkout v4->v5, setup-node v4->v5, setup-python v5->v6
  (their newer majors ship the Node 24 runtime).
- Bump project node-version 20->24 in ci + redteam-scan (matches publish).
- Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 for docker/* and Pages actions,
  which have no newer major yet, so they also run on Node 24.

Silences the Node 20 deprecation warnings across all workflows.
@cdot65 cdot65 merged commit 713dfb2 into main May 21, 2026
4 checks passed
@cdot65 cdot65 deleted the cdot65/ci-node24 branch May 21, 2026 18:11
cdot65 added a commit that referenced this pull request May 28, 2026
#112 redteam report DYNAMIC fix (#233)

* test(redteam): RED for getDynamicReport service + renderer (#112)

* fix(redteam): route DYNAMIC jobs to getDynamicReport (#112)

Previously redteam report fell through to getStaticReport for any
non-CUSTOM jobType, including DYNAMIC, which 500s on the static
endpoint. Add a RedTeamDynamicReport type, getDynamicReport service
method, renderDynamicReport renderer, and the DYNAMIC routing branch.

* ci(redteam): rebase scan workflow with CUSTOM prompt sets + ASR gate (#50)

Adds scan_config to the litellm target, switches the redteam-scan
workflow to CUSTOM scans with prompt sets, skips targets without a
scan_config, and adds an ASR-threshold gate plus a step-summary block
of scan results.

Resolves a env-block conflict with the Node 24 bump (#76) by merging
both env keys.

* feat(dlp): add visible-text embedding techniques for PDF/PNG/JPEG/SVG/DOCX

Adds 6 new dirty-file generators (5 formats × 1-2 techniques each):
- PDF: visible, visible-samecolor
- PNG: visible (text overlay)
- JPEG: visible (text overlay)
- SVG: visible (rendered text node)
- DOCX: visible, visible-samecolor

visible-samecolor renders body text in the same color as background — present
and OCR-extractable but camouflaged from the eye. Useful for testing scanner
robustness vs. simple visual review.

Corpus jumps from 15 → 21 dirty files per full run.

* test(dlp): cover visible + visible-samecolor embedders

Per-format embed specs add visible-text assertions; orchestrate spec dirty
count 15 → 21.

* docs(dlp): document visible + visible-samecolor techniques on runtime dlp generate

Retargets onto the post-v2.11.0 command (was runtime dlp-gen). Updates AGENTS,
SKILL.md, generate.md, and full-cli-sweep corpus counts (15 → 21 dirty).

* chore: changesets for bundled dlp visible-text + redteam CI + report dynamic

* style: biome single-line formatting fix

* docs: regenerate typedoc api ref for new RedTeamDynamicReport types
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