chore(ci): fix workflow visibility, add migration dry-run, bump to node24 actions#6
Merged
Merged
Conversation
…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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Motivation
CI checks don't appear in the branch protection status check selector because the
checkjob never runs onmain. The deploy-migrations workflow has no pre-merge validation, and several actions target the deprecated Node.js 20 runtime.Changes
ci.ymlpush: branches: [main]trigger so thecheckjob runs onmainand populates the status check selectoractions/checkoutv4→v6,actions/setup-nodev4→v6,pnpm/action-setupv4→v5 (all node24-native)versioninput — v5 reads frompackageManagerinpackage.jsondeploy-migrations.ymldry-runjob on PRs that touchsupabase/migrations/**— runssupabase db push --dry-runto validate migrations before mergedeployjob topush/workflow_dispatchonlyactions/checkoutv4→v6supabase/setup-cli@v1stays at v1 (no node24 version available yet;FORCE_JAVASCRIPT_ACTIONS_TO_NODE24covers it)package.json"packageManager": "pnpm@10.32.1"forpnpm/action-setup@v5