Skip to content

Commit b9271fd

Browse files
committed
ci: align Node and npm versions in workflows to fix lock-file mismatch
Bumps both ci.yml and publish.yaml to node-version: 24 so the runner's npm matches the npm 11 that produced package-lock.json locally; regenerates the lock file in that same shape so npm ci no longer complains about missing transitive entries (cosmiconfig, ts-node). Also lands the lint cleanups required to keep the new test files passing the test:lint stage of npm run test: an eslint override for src/__tests__/** that disables a small set of rules that conflict with vitest patterns (vi.mock between imports, non-null assertions after expect-truthy, no-op stub methods), plus prettier formatting fixes in ConeRendering.test.tsx.
1 parent f6fff99 commit b9271fd

5 files changed

Lines changed: 12224 additions & 21829 deletions

File tree

.eslintrc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,16 @@
3535
"import/export": 0,
3636
"n/no-callback-literal": 0,
3737
"@typescript-eslint/no-explicit-any": 0
38-
}
38+
},
39+
"overrides": [
40+
{
41+
"files": ["src/__tests__/**"],
42+
"rules": {
43+
"import/first": 0,
44+
"no-useless-return": 0,
45+
"@typescript-eslint/no-non-null-assertion": 0,
46+
"@typescript-eslint/no-non-null-asserted-optional-chain": 0
47+
}
48+
}
49+
]
3950
}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup node
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: 22
23+
node-version: 24
2424
cache: 'npm'
2525
- name: Install dependencies
2626
run: npm ci

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup node
1818
uses: actions/setup-node@v1
1919
with:
20-
node-version: 22
20+
node-version: 24
2121
- name: Install dependencies
2222
run: npm ci
2323
- name: Build

0 commit comments

Comments
 (0)