Commit graph

15 commits

Author SHA1 Message Date
ThatGuySam
6d858d2a19 ci(cloudflare): stop leaking deploy config and stage TS migration
The Cloudflare worker deploy workflow was printing secret-derived config into CI logs and doing unnecessary root installs. Tighten the workflow to use read-only permissions, secure file writes, and per-worker dependency installs, then add a staged TypeScript migration plan so the repo-wide conversion has explicit CI-safe ordering.

Constraint: Must keep the current Cloudflare deploy path working while removing secret exposure from logs
Rejected: Leave the workflow as-is and document the risk | known secret leakage in CI is an immediate operational defect
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep worker deploy inputs secret-only and validate repo-wide TypeScript work in bounded slices, not one bulk migration
Tested: ruby YAML parse of .github/workflows/deploy-cloudflare-workers.yml; git diff --check; npm ci --prefix doesitarm-default --ignore-scripts --no-audit --no-fund; npm ci --prefix workers/analytics --ignore-scripts --no-audit --no-fund
Not-tested: Full GitHub Actions execution after commit
2026-04-04 17:06:58 -05:00
ThatGuySam
edcc260faa fix(ci): repair github node 24 workflows
Install pnpm before enabling setup-node's pnpm cache in the Cloudflare deploy job, and make the Node 24 check workflow self-contained by providing the public build URLs directly.

These fixes address the first GitHub-hosted failures that surfaced after the Node 24 migration push without changing the application runtime.
2026-03-15 12:58:18 -05:00
ThatGuySam
fcda9f0a02 chore(node): move repo tooling to node 24
Align local version markers and GitHub Actions with Node 24, switch the default test entrypoint to the maintained Vitest runner, and replace pnpm-incompatible npm helpers in repo scripts.

This also removes the obsolete AVA plus esm path and excludes disabled test fixtures from generic Vitest discovery so CI reflects the supported test surface.
2026-03-15 12:55:25 -05:00
ThatGuySam
23f2e18332 Use pnpm on Wrangler Action 2023-08-12 14:32:44 -05:00
Sam Carlton
83edd06996 Deploy Analytics Worker from action 2022-07-13 13:13:49 -05:00
Sam Carlton
1584fee930 Add npm install 2022-02-03 21:32:34 -06:00
Sam Carlton
72e4420449 Add reference and better name 2022-02-03 21:22:55 -06:00
Sam Carlton
ff5f39ae18 Try encoding and decoding secret 2022-02-03 20:07:51 -06:00
Sam Carlton
9fda97018a Clean up action order 2022-02-03 20:00:17 -06:00
Sam Carlton
2b11ca94a8 Try writing wrangler config from env variable 2022-02-03 19:53:48 -06:00
Sam Carlton
8134fc22e4 Set workingDirectory 2022-02-03 19:43:19 -06:00
Sam Carlton
7cc278a60e Remove dash 2022-02-03 19:41:23 -06:00
Sam Carlton
2c4b88e5d1 Remove extra uses 2022-02-03 19:40:00 -06:00
Sam Carlton
3d64f97c34 Config worker action 2022-02-03 19:38:50 -06:00
Sam Carlton
a4186bafdf Add demo worker 2022-02-03 19:33:31 -06:00