Skip to content

ref(ci): use shared setup-node-pnpm action in acceptance workflow#110022

Merged
hubertdeng123 merged 1 commit intomasterfrom
ref/ci-acceptance-use-setup-node-pnpm-action
Mar 6, 2026
Merged

ref(ci): use shared setup-node-pnpm action in acceptance workflow#110022
hubertdeng123 merged 1 commit intomasterfrom
ref/ci-acceptance-use-setup-node-pnpm-action

Conversation

@hubertdeng123
Copy link
Member

@hubertdeng123 hubertdeng123 commented Mar 5, 2026

Summary

  • The acceptance.yml workflow was manually duplicating 4 steps already abstracted into .github/actions/setup-node-pnpm: actions/setup-node, pnpm/action-setup, a node_modules cache step, and a conditional install step.
  • Replace those 4 steps with a single uses: ./.github/actions/setup-node-pnpm call, matching the pattern used in frontend.yml, pre-commit.yml, and backend.yml (api-docs job).
  • No behavior change — the shared action performs the exact same operations with the same cache key.

Test plan

  • Verify the acceptance CI job passes after this change
  • Confirm node_modules cache hit/miss behavior is unchanged (same cache key: pnpm-lock.yaml, api-docs/pnpm-lock.yaml, .node-version)

The acceptance workflow was manually duplicating the node/pnpm setup
steps (actions/setup-node, pnpm/action-setup, node_modules cache,
install) already encapsulated in the .github/actions/setup-node-pnpm
composite action. Replace the 4 duplicated steps with the shared action
to reduce duplication and improve maintainability.
@hubertdeng123 hubertdeng123 merged commit f5149c7 into master Mar 6, 2026
62 checks passed
@hubertdeng123 hubertdeng123 deleted the ref/ci-acceptance-use-setup-node-pnpm-action branch March 6, 2026 00:26
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.

2 participants