Skip to content

chore(ci): fix workflow visibility, add migration dry-run, bump to node24 actions#6

Merged
zacharias-ona merged 1 commit into
mainfrom
chore/fix-ci-workflows
Apr 14, 2026
Merged

chore(ci): fix workflow visibility, add migration dry-run, bump to node24 actions#6
zacharias-ona merged 1 commit into
mainfrom
chore/fix-ci-workflows

Conversation

@zacharias-ona
Copy link
Copy Markdown
Collaborator

Motivation

CI checks don't appear in the branch protection status check selector because the check job never runs on main. The deploy-migrations workflow has no pre-merge validation, and several actions target the deprecated Node.js 20 runtime.

Changes

ci.yml

  • Add push: branches: [main] trigger so the check job runs on main and populates the status check selector
  • Bump actions/checkout v4→v6, actions/setup-node v4→v6, pnpm/action-setup v4→v5 (all node24-native)
  • Drop explicit pnpm version input — v5 reads from packageManager in package.json

deploy-migrations.yml

  • Add dry-run job on PRs that touch supabase/migrations/** — runs supabase db push --dry-run to validate migrations before merge
  • Gate deploy job to push/workflow_dispatch only
  • Bump actions/checkout v4→v6
  • supabase/setup-cli@v1 stays at v1 (no node24 version available yet; FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 covers it)

package.json

  • Add "packageManager": "pnpm@10.32.1" for pnpm/action-setup@v5

…de24 actions

- Add push trigger on main to ci.yml so the check job appears in the
  branch protection status check selector
- Add dry-run job to deploy-migrations.yml on PRs that touch
  supabase/migrations/** (validates migrations without applying)
- Gate deploy job to push/workflow_dispatch only
- Bump actions/checkout v4→v6, actions/setup-node v4→v6,
  pnpm/action-setup v4→v5 (all node24-native)
- Add packageManager field to package.json for pnpm/action-setup v5

Co-authored-by: Ona <no-reply@ona.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
memo Ready Ready Preview, Comment Apr 14, 2026 5:47pm

Request Review

@zacharias-ona zacharias-ona merged commit c50a0c7 into main Apr 14, 2026
3 checks passed
@zacharias-ona zacharias-ona deleted the chore/fix-ci-workflows branch April 14, 2026 17:48
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.

1 participant