Skip to content

Add a Justfile; CI unit-test steps call its recipes - #126

Merged
jonocodes merged 1 commit into
mainfrom
chore/justfile
Oct 18, 2026
Merged

jonocodes merged 1 commit into
mainfrom
chore/justfile

Conversation

@jonocodes

Copy link
Copy Markdown
Owner

Adds a repo-root Justfile so the common commands live in one place.

  • App recipes (dev, build, lint, test, e2e) delegate to the package.json scripts, so nothing is duplicated.
  • New recipes: the checks that only existed in CI become recipes (test-workers, test-extension, lint-extension, typecheck). So do the two wrangler deploys (deploy-proxy, deploy-proxy-public), which are easy to mix up.
  • just ci runs the same steps, in the same order, as the unit-tests CI job.
  • CI change: each step in the unit-tests job now calls its recipe, installed via extractions/setup-just@v4. The steps keep their names, so it stays clear which step failed, and local runs and CI can't drift apart. The e2e job is unchanged.
  • Docs: README.md and docs/DEVELOPMENT.md point at the Justfile.

just is not added to the FloxHub env in this PR. Running flox install just also migrated the manifest schema, and that would need a flox push to the shared remote env.

Verification: just ci passes locally (lint: 0 errors; jest: 472/472; worker and extension tests; web-ext: 0 errors).

The proxy-up recipe for the self-hosted CORS proxy belongs with #125, which adds the compose service.

🤖 Generated with Claude Code

App recipes delegate to package.json scripts. The worker, extension and
web-ext checks that only lived in CI become recipes, plus the two wrangler
deploys. `just ci` runs the same steps as the unit-tests CI job, which now
calls each recipe (via extractions/setup-just), so local and CI can't drift.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for savrlist ready!

Name Link
🔨 Latest commit 020d480
🔍 Latest deploy log https://app.netlify.com/projects/savrlist/deploys/6ad44beb5a6fb74af606e1b3
😎 Deploy Preview https://deploy-preview-126--savrlist.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jonocodes
jonocodes merged commit 7172e27 into main Oct 18, 2026
6 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