Repository navigation
ci: maintain workflows and keep Supabase active - #78
Merged
Merged
Conversation
🌐 Pair Research PR Preview
🔗 Run: https://github.com/NUDelta/pair-research/actions/runs/26720953558 |
🧪 Pair Research PR Checks
🔗 Run: https://github.com/NUDelta/pair-research/actions/runs/26720953574 |
There was a problem hiding this comment.
Pull request overview
This PR refactors GitHub Actions workflows to reuse a local composite action for Node/pnpm setup and introduces a scheduled workflow to ping Supabase to reduce inactivity pauses.
Changes:
- Replace repeated Node + pnpm setup/install steps across CI workflows with a shared local composite action.
- Add a scheduled + manually-dispatchable “Keep Supabase Alive” workflow that pings the Supabase REST API.
- Apply the shared setup action to PR preview, PR checks, and production deploy workflows.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/pr-preview.yml | Swaps duplicated Node/pnpm setup steps for the shared composite action. |
| .github/workflows/pr-checks.yml | Uses the shared composite action across lint/unit/e2e/build jobs. |
| .github/workflows/keep-supabase-alive.yml | Adds scheduled/manual Supabase REST ping job to keep the project active. |
| .github/workflows/deploy-production.yml | Reuses the shared composite action for production deploy pipeline setup. |
| .github/actions/setup-node-pnpm/action.yml | Introduces a composite action encapsulating pnpm + Node setup and dependency install. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
✨ Features Updates
📌 Description
This PR trims repeated GitHub Actions setup code and adds a scheduled Supabase keep-alive workflow.
🔍 Feature Changes
Keep Supabase Aliveworkflow with manual dispatch support.🔄 Refactor Changes
🛠 Bug Fixes
✅ Checklist
💬 Additional Notes
VITE_SUPABASE_URLandSUPABASE_SECRET_KEYto pingprofile?select=id&limit=1.✅ Validation
pnpm run lint:cieslint . --fixpnpm run test:unit && pnpm run test:e2evite build