Skip to content

Conversation

@grdsdev
Copy link
Contributor

@grdsdev grdsdev commented Jun 25, 2025

Improve CI on:

  • Run on multiple OS (linux, macOS, windows)
  • Add a dependency between release and test jobs

- Add fail-fast: false to matrix strategies for better error visibility
- Replace npm clean-install with npm ci for faster, more reliable builds
- Add npm caching to all Node.js setup steps
- Add if: always() to cleanup steps to ensure Supabase stops on failure
- Add NODE_VERSION environment variable for consistency
- Add descriptive step names for better debugging
- Expand test matrix to include Node 22, 24 and multiple OS platforms
- Update Coveralls action to v2 and add conditional execution
- Add workflow_call trigger for reusable workflows
@coveralls
Copy link

coveralls commented Jun 25, 2025

Pull Request Test Coverage Report for Build 15896135273

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 72.889%

Totals Coverage Status
Change from base Build 15877219716: 0.0%
Covered Lines: 109
Relevant Lines: 132

💛 - Coveralls

grdsdev added 3 commits June 25, 2025 13:28
- Split expo test steps for better clarity and debugging
- Separate dependency installation and build from test execution
- Use npm install instead of npm ci for expo test dependencies
- Ignore Cursor IDE configuration files and workspace data
- Update React to 19.1.0
- Update @supabase/realtime-js to 2.11.15
- Add @types/ws and ws dependencies for WebSocket support
@grdsdev grdsdev marked this pull request as ready for review June 25, 2025 16:54
@grdsdev grdsdev requested review from o-santi and soedirgo June 25, 2025 16:54
- Reduce Node.js matrix from [20, 22, 24] to [20] for faster CI runs
- Remove conditional coverage upload to simplify workflow
- Remove security audit job to reduce CI complexity and runtime
- Maintains all essential testing while improving CI efficiency
@grdsdev grdsdev requested review from soedirgo and staaldraad June 26, 2025 07:51
@grdsdev
Copy link
Contributor Author

grdsdev commented Jun 26, 2025

@soedirgo reverted to run only for node 20, and removed security checks in favor of only using snyx, can you review again?

Copy link
Member

@soedirgo soedirgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@grdsdev grdsdev merged commit c131801 into master Jun 26, 2025
9 checks passed
@grdsdev grdsdev deleted the guilherme/ci-improvements branch June 26, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants