Step 1.4: ignore in-workspace pnpm store in CI
CI / check (push) Successful in 22s
Details
CI / check (push) Successful in 22s
Details
The Gitea runner places the pnpm store inside the workspace, so prettier --check failed on its files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
87253e1fbb
commit
920f88b34d
|
|
@ -5,3 +5,4 @@ coverage/
|
||||||
.env
|
.env
|
||||||
.env.local
|
.env.local
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.pnpm-store/
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
pnpm-lock.yaml
|
pnpm-lock.yaml
|
||||||
memory-bank/
|
memory-bank/
|
||||||
|
.pnpm-store/
|
||||||
|
|
|
||||||
|
|
@ -20,3 +20,8 @@ Implementation decisions not spelled out in `memory-bank/implementation-plan.md`
|
||||||
|
|
||||||
- **Vitest projects**: the root `vitest.config.ts` treats each `apps/*` and `packages/*` folder as a project, so `pnpm test` runs every package's tests. Packages can add their own `vitest.config.ts` when they need a different environment.
|
- **Vitest projects**: the root `vitest.config.ts` treats each `apps/*` and `packages/*` folder as a project, so `pnpm test` runs every package's tests. Packages can add their own `vitest.config.ts` when they need a different environment.
|
||||||
- **Tests live in each package's `test/` folder** and are included in that package's tsconfig, so `pnpm typecheck` covers them.
|
- **Tests live in each package's `test/` folder** and are included in that package's tsconfig, so `pnpm typecheck` covers them.
|
||||||
|
|
||||||
|
## Step 1.4
|
||||||
|
|
||||||
|
- **CI runs on Gitea Actions** (`.gitea/workflows/ci.yml`): install with a frozen lockfile, then typecheck, lint and test.
|
||||||
|
- **`.pnpm-store/` is ignored** by Prettier, ESLint and git. On the Gitea runner, pnpm puts its store inside the workspace, and `prettier --check` failed on the store's files (CI run #1).
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import tseslint from "typescript-eslint";
|
||||||
const impureMessage = "Not allowed in pure packages; pass time and seeds in as arguments.";
|
const impureMessage = "Not allowed in pure packages; pass time and seeds in as arguments.";
|
||||||
|
|
||||||
export default tseslint.config(
|
export default tseslint.config(
|
||||||
{ ignores: ["**/node_modules/**", "**/dist/**", "**/coverage/**"] },
|
{ ignores: ["**/node_modules/**", "**/dist/**", "**/coverage/**", ".pnpm-store/**"] },
|
||||||
js.configs.recommended,
|
js.configs.recommended,
|
||||||
...tseslint.configs.recommended,
|
...tseslint.configs.recommended,
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue