Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Manual deploys now skip tests entirely
- I restored Playwright browser installation and test execution in the deploy workflow so manual and push-triggered deploys are gated by tests again.
Or push these changes by commenting:
@cursor push 35556ec29f
Preview (35556ec29f)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -67,6 +67,12 @@
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
+ - name: Install Playwright Browsers
+ run: ${{ steps.detect-package-manager.outputs.runner }} playwright install --with-deps chromium
+
+ - name: Run tests
+ run: ${{ steps.detect-package-manager.outputs.manager }} test
+
- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next build
env:36975ae to
4bf1260
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f0c4b21. Configure here.
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.


Adds running tests when a PR is opened or updated
Note
Medium Risk
Changes GitHub Actions pipelines by introducing a shared test job and making deploy builds depend on it, which can block PR merges or deployments if the workflow or environment assumptions are wrong.
Overview
Adds a reusable GitHub Actions workflow (
test.yml) that installs dependencies, installs Playwright Chromium, and runsnpm test.Introduces a new PR-triggered
CIworkflow (ci.yml) and updatesdeploy.ymlto run the shared tests first (and require them vianeeds), while also aligning Node setup to.nvmrcduring deploy builds.Reviewed by Cursor Bugbot for commit fd8667a. Bugbot is set up for automated code reviews on this repo. Configure here.