Skip to content

#44 update publish.yml#49

Merged
ienaga merged 1 commit into
mainfrom
develop
Nov 1, 2025
Merged

#44 update publish.yml#49
ienaga merged 1 commit into
mainfrom
develop

Conversation

@ienaga

@ienaga ienaga commented Nov 1, 2025

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings November 1, 2025 06:26

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the publish workflow with changes to GitHub Actions versions and npm installation steps. The modifications appear to downgrade action versions and add redundant dependency installation commands.

  • Downgrades GitHub Actions from v5 to v4 for checkout and setup-node
  • Adds npm upgrade step before dependency installation
  • Introduces duplicate dependency installation steps (both npm install and npm ci)

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

node-version: "22.x"
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm@latest
- run: npm install

Copilot AI Nov 1, 2025

Copy link

Choose a reason for hiding this comment

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

Running both npm install and npm ci is redundant and incorrect. The npm ci command removes node_modules and installs from the lockfile for reproducible builds, making the preceding npm install unnecessary. Remove line 22 and keep only npm ci for CI/CD environments.

Suggested change
- run: npm install

Copilot uses AI. Check for mistakes.
@ienaga ienaga merged commit 063b7d7 into main Nov 1, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants