ci: add macOS and Windows to test matrix#50
Merged
Conversation
The setup-node action's cache option automatically includes the OS in the cache key, so no cache collisions will occur. https://claude.ai/code/session_013Qs5NvWYbFZugkWa3mC62w
Switch from setup-node's built-in cache to explicit actions/cache
to include both OS and Node version in the cache key, preventing
potential issues with native module builds across different Node versions.
Cache key format: {os}-node-{node-version}-pnpm-{lockfile-hash}
https://claude.ai/code/session_013Qs5NvWYbFZugkWa3mC62w
The built-in cache handles OS in the key automatically, and Node version isolation isn't needed for this pure JS/TS package without native deps. https://claude.ai/code/session_013Qs5NvWYbFZugkWa3mC62w
Single quotes aren't interpreted correctly on Windows, causing the glob pattern to fail. Double quotes work cross-platform. https://claude.ai/code/session_013Qs5NvWYbFZugkWa3mC62w
|
Coverage Impact This PR will not change total coverage. 🚦 See full report on Qlty Cloud »🛟 Help
|
Let ESLint handle glob matching internally via the config file's 'files' pattern, which uses cross-platform path handling. https://claude.ai/code/session_013Qs5NvWYbFZugkWa3mC62w
- Add centered header with badges - Add 'Why' section explaining value proposition - Add table of contents - Use tables for operator documentation - Simplify code examples - Add API reference section - Improve overall readability https://claude.ai/code/session_013Qs5NvWYbFZugkWa3mC62w
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The setup-node action's cache option automatically includes the OS
in the cache key, so no cache collisions will occur.
https://claude.ai/code/session_013Qs5NvWYbFZugkWa3mC62w