Repo hygiene: stop tracking dist, CI, working dev sandbox
- dist/ no longer committed; prepare builds it for git installs and prepublishOnly runs clean + build + unit tests before every publish. - Gitea Actions CI: typecheck, lint, unit tests, build on push/PR. - New scripts: typecheck, test:watch; test:int runs once; lint covers src + test. - dev/: drop the Mongo memory server and template route, opt out of 2FA, add the pages collection the SEO config expects, alias @intecion/ipal-kit/* to src, fix e2e credentials, regenerate types and import map. - Remove stray src/index.tsgrep, dedupe .gitignore, README peer versions 3.90.2. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# Runs on every push and pull request: typecheck, lint, unit tests, build.
|
||||
# Gitea Actions uses the GitHub Actions syntax; needs a runner with Docker.
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
# --ignore-scripts: skip `prepare` (the build) here; it runs as its own step.
|
||||
- run: pnpm install --frozen-lockfile --ignore-scripts
|
||||
- run: pnpm typecheck
|
||||
- run: pnpm lint
|
||||
- run: pnpm test:int
|
||||
- run: pnpm build
|
||||
Reference in New Issue
Block a user