Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ jobs:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
# Full build (babel + tsc -b declarations) so PRs catch type errors
# before the Release workflow does
- name: Build gl-react packages
run: |
for d in packages/gl-react packages/gl-react-dom packages/gl-react-headless packages/gl-react-image packages/gl-react-blur; do
pnpm exec babel --root-mode upward --source-maps --extensions '.ts,.tsx' -d "$d/lib" "$d/src"
done
run: pnpm build
- run: xvfb-run -s "-ac -screen 0 1280x1024x24" pnpm test
2 changes: 1 addition & 1 deletion packages/gl-react-blur/src/Blur.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ const Blur = connectSize(
);
return rec(passes);
}
) as React.ComponentType<BlurProps>;
) as unknown as React.ComponentType<BlurProps>;

export default Blur;
2 changes: 1 addition & 1 deletion packages/gl-react-blur/src/Blur1D.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ const Blur1D = connectSize(
uniforms={{ t, resolution: [width, height], direction }}
/>
)
) as React.ComponentType<Blur1DProps>;
) as unknown as React.ComponentType<Blur1DProps>;

export default Blur1D;
2 changes: 1 addition & 1 deletion packages/gl-react-blur/src/BlurV.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ const BlurV = connectSize(
);
return rec(passes);
}
) as React.ComponentType<BlurVProps>;
) as unknown as React.ComponentType<BlurVProps>;

export default BlurV;
2 changes: 1 addition & 1 deletion packages/gl-react-blur/src/BlurV1D.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ const BlurV1D = connectSize(
uniforms={{ t, map, resolution: [width, height], direction }}
/>
)
) as React.ComponentType<BlurV1DProps>;
) as unknown as React.ComponentType<BlurV1DProps>;

export default BlurV1D;
Loading