Skip to content

ci(deploy): setup node internally#4948

Merged
straker merged 1 commit intodevelopfrom
garbee/fix-deploy
Nov 26, 2025
Merged

ci(deploy): setup node internally#4948
straker merged 1 commit intodevelopfrom
garbee/fix-deploy

Conversation

@Garbee
Copy link
Copy Markdown
Member

@Garbee Garbee commented Nov 26, 2025

Setting up Node through a composite workflow does not inherit the environment from the host. Meaning it creates its own token which does not have the correct deployment authorization.

This patch moves setting up node internal with no more use of the composite action for deployment. Which, enables the correct token to be used. It has a side effect of also saving us time in deploy by not installing the browser dependencies that aren't needed for this workflow.

Closes: #4912

Copilot AI review requested due to automatic review settings November 26, 2025 10:13
@Garbee Garbee requested a review from a team as a code owner November 26, 2025 10:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a deployment authorization issue by moving Node.js setup from a composite workflow action to inline workflow steps. The composite action was creating its own token context that lacked proper deployment permissions. By setting up Node.js directly within the workflow, the correct OIDC token is inherited and used for npm publishing. An additional benefit is improved deployment performance by avoiding unnecessary browser dependency installations.

Key Changes:

  • Replaced the install-deps composite action with inline setup-node and install-project-deps steps
  • Removed browser dependency installation (Chrome, Firefox, Xvfb) from deployment workflows
  • Maintained consistency across all deployment and validation jobs using YAML anchors

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@straker straker merged commit 072b664 into develop Nov 26, 2025
29 checks passed
@straker straker deleted the garbee/fix-deploy branch November 26, 2025 15:24
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.

Update deployment workflow to use OIDC

3 participants