Skip to content

Add CI, oxlint linting and Dependabot - #1

Merged
technothatch merged 2 commits into
mainfrom
chore/ci-linting-dependabot
Oct 11, 2026
Merged

technothatch merged 2 commits into
mainfrom
chore/ci-linting-dependabot

Conversation

@technothatch

Copy link
Copy Markdown
Owner

What

Adds the missing engineering guardrails to daymark:

  • CI (.github/workflows/ci.yml) — npm ci + npm run lint + npm run typecheck + npm run build on Node 20/22/24 for every push/PR to main. Previously the only workflow was the Pages deploy, so a broken build reached main before anyone noticed.
  • Linting — oxlint as a devDependency with --deny-warnings (npm run lint), plus a npm run typecheck (tsc --noEmit) script and an engines field.
  • Dependabot — weekly updates for npm and GitHub Actions.
  • .editorconfig — consistent charset/EOL/indentation across editors.

Why now

Deploys build on main only; this makes failures show up on the PR instead of on the live site.

Verification

Locally on Node 24:

npm run lint       -> Found 0 warnings and 0 errors
npm run typecheck  -> clean
npm run build      -> dist/index.html 1.35 kB, assets built

- CI workflow: npm ci + lint + typecheck + build on Node 20/22/24 for push/PR
- oxlint with --deny-warnings, typecheck script, engines field
- Dependabot for npm and GitHub Actions (weekly)
- .editorconfig for consistent formatting
@technothatch
technothatch merged commit ef7d264 into main Oct 11, 2026
3 checks passed
@technothatch
technothatch deleted the chore/ci-linting-dependabot branch October 11, 2026 14:18
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.

2 participants