Commit graph

29 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
2f667357af fix(ci): run netlify build in node 24 check
The generic
> doesitarm@1.0.0 test /Users/athena/Code/doesitarm
> vitest run

Running Astro Config File

 RUN  v4.1.0 /Users/athena/Code/doesitarm

 Test Files  7 passed (7)
      Tests  20 passed | 3 todo (23)
   Start at  13:00:20
   Duration  1.76s (transform 317ms, setup 138ms, import 1.23s, tests 2.55s, environment 2ms) entrypoint assumes artifacts that only exist after the repo's full Netlify-style build. Run the real end-to-end Netlify build in GitHub Actions instead so the hosted Node 24 check matches the supported build surface.
2026-03-15 13:00:21 -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
09bcaa469c add: ready automation 2025-06-14 16:14:00 -05:00
ThatGuySam
a60ab96de4 update: mention App Test tool 2025-06-14 16:08:07 -05:00
ThatGuySam
26d1bce404 update: add a sincerely 2025-06-14 16:02:17 -05:00
ThatGuySam
39e8bf3369 update: only tigger for labelled 2025-06-14 15:57:46 -05:00
ThatGuySam
7cc1ff7bad fix: use js multiline syntax 2025-06-14 15:57:05 -05:00
ThatGuySam
21c97dec5c add: thank you workflow 2025-06-14 15:52:23 -05:00
Sam Carlton
6e11fbe8e7
Create deploy-frontend.yaml Action 2024-08-01 14:44:03 -05:00
Sam Carlton
f5c83529d5
Create API Deploy Action 2024-08-01 14:43:10 -05:00
Sam Carlton
e5cd25f579
Change to 2am 2024-08-01 14:40:21 -05:00
Sam Carlton
4c126fe70b
Enable workflow_dispatch on Functions Deploy Action 2024-08-01 14:27:18 -05:00
Sam Carlton
32883a129b
Trigger Functions deploy every day at 3am 2024-08-01 14:26:24 -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
Sam Carlton
3a92fd3613 Create env variable from repo secret 2021-05-16 16:18:58 -05:00
Sam Carlton
e866a5001d
Add Run Ava Tests action 2021-05-16 16:04:47 -05:00