NEW @W-23810824@ - Add publish-to-npm-lite workflow for code-analyzer-lite beta - #2076
NEW @W-23810824@ - Add publish-to-npm-lite workflow for code-analyzer-lite beta#2076aruntyagiTutu wants to merge 1 commit into
Conversation
GitHub Actions only discovers release/workflow_dispatch triggers from workflows present on the default branch, so this workflow needs to land on dev even though the codeanalyzer-lite branch it publishes from lives separately. The workflow checks out the release tag itself to build and publish, so it pulls in the lite package's actual source regardless of which branch dev is on.
Review —
|
Summary
@W-23810824 - To release CA lite beta
.github/workflows/publish-to-npm-lite.yml, a dedicated npm-publish pipeline for the new@salesforce/plugin-code-analyzer-litepackage (a trimmed CLI variant without the flow, sfge, and apexguru engines), being developed on thecodeanalyzer-litebranch.devbecause GitHub Actions requiresrelease/workflow_dispatchworkflow definitions to live on the default branch to be triggerable — the actual lite package source stays oncodeanalyzer-liteand is not being merged here.v5.0.0-beta.0for the first release) to build/publish, independent of what's ondev.Test plan
sf-release npm:package:releasesucceeds against acodeanalyzer-litetag once this mergesworkflow_dispatchwithtag: v5.0.0-beta.0to verify the full RC → smoke-test → promote pipeline@salesforce/plugin-code-analyzer-lite@5.0.0-beta.0on npm