ci: improve actions workflows#4388
Conversation
|
@luc122c is attempting to deploy a commit to the Nitro Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughCI workflows now run selected typecheck and vitest commands in parallel, the nightly publish job is limited to push events on ChangesWorkflow updates
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |
🔗 Linked issue
❓ Type of change
📚 Description
GitHub Actions announced the
parallelkeyword yesterday — syntactic sugar that groups independent steps to run concurrently within a single job, then waits for all of them before continuing. See the workflow syntax docs for the full reference.ci.ymltests-checkspnpm typecheck+pnpm vitest run test/unit+pnpm vitest run test/minimal+pnpm vitest run test/viteci.ymltests-rolluppnpm vitest run test/examples+pnpm vitest run test/presetsci.ymltests-rolldownpnpm vitest run test/examples+pnpm vitest run test/presetsnpm-publish.ymlpublishpnpm lint+pnpm typecheck+pnpm test:rolldownI've also scoped the nightly publish job to only run in this repo, not forks.
Related:
📝 Checklist