Skip to content

revert back to use regular flow instead of composite#251

Merged
mderazon merged 1 commit intoqafrom
feature/composite-action
Feb 3, 2026
Merged

revert back to use regular flow instead of composite#251
mderazon merged 1 commit intoqafrom
feature/composite-action

Conversation

@mderazon
Copy link
Contributor

@mderazon mderazon commented Feb 3, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 3, 2026 14:46
@mderazon mderazon merged commit 2eece3e into qa Feb 3, 2026
3 checks passed
Copy link

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

Reverts the npm publish GitHub Action from a composite action back to an inline “regular” Node/npm workflow for building and publishing on release.

Changes:

  • Add explicit Node.js setup via actions/setup-node.
  • Install dependencies and build the package before publishing.
  • Replace the composite npm-publish action with npm run publish.

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

Comment on lines +23 to +24
node-version: "24"
registry-url: "https://registry.npmjs.org"
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

node-version: "24" is inconsistent with the versions exercised in CI (18.x/20.x in .github/workflows/ci.yml) and may cause publish-only build failures or dependency incompatibilities. Consider pinning to a tested LTS line (e.g., 20.x) or using lts/*/an engines-derived version so the publish workflow matches the supported runtime.

Copilot uses AI. Check for mistakes.
- name: Build package
run: npm run package

- name: Publish to npm
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

The publish step runs npm run publish but the workflow does not provide any npm authentication (e.g., NODE_AUTH_TOKEN from a repo/org secret) or an explicit npm trusted-publishing/provenance setup. On a standard GitHub runner this will fail with an auth error when npm publish is executed; please wire in the intended auth mechanism.

Suggested change
- name: Publish to npm
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Copilot uses AI. Check for mistakes.
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