Skip to content

Commit fd42b53

Browse files
committed
ci: limit test matrix to Node LTS
Node >= 25 enables experimental Web Storage by default; its global localStorage/sessionStorage shadow the jsdom ones in vitest workers, so tests referencing bare localStorage get Node's storage, which is unusable without --localstorage-file. Reproducible on Node 24 with NODE_OPTIONS=--experimental-webstorage. Re-add latest once useStorageValue tests reference window.localStorage explicitly instead of the bare global.
1 parent 3c9f1e5 commit fd42b53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
strategy:
5959
fail-fast: false
6060
matrix:
61-
node-version: [ "lts/*", "latest" ]
61+
node-version: [ "lts/*" ]
6262
steps:
6363
- name: "Checkout"
6464
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

0 commit comments

Comments
 (0)