Repository navigation
Add CI workflow for API, web and mobile - #2
Merged
Merged
Conversation
Runs on every pull request, on pushes to master, and on demand: - API: generate the Prisma client, typecheck, run tests - Web: typecheck and build - Mobile: flutter analyze (style infos reported, not fatal) and flutter test Uses the same Node and action versions as publish-api.yml, pins Flutter 3.47.6, and cancels runs made obsolete by a newer push. Deployment stays in publish-api.yml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What changed
Adds
.github/workflows/ci.yml. Until now the repo had no checks on pull requests; the only workflow was the deploy inpublish-api.yml, which runs the API tests after a push tomaster.The new workflow runs on every pull request, on pushes to
master, and on demand, with three jobs in parallel:tsc --noEmit,npm testnpm run build -w @drop-it/web(typecheck and Vite build)flutter pub get,flutter analyze --no-fatal-infos,flutter testNotes for reviewers
publish-api.yml, and pins Flutter to 3.47.6 (the local version).flutter analyzeuses--no-fatal-infosbecause the app has 5 existing style notes (curly braces, initializing formals). Errors and warnings still fail the job.publish-api.yml.Testing
I ran every step locally on
masterplus this change: API typecheck passes and 43/43 tests pass, the web build passes, andflutter analyzeandflutter testpass (1/1). This PR's own run is the first time it runs on GitHub.🤖 Generated with Claude Code