Skip to content

Comments

#44 update publish.yml#49

Merged
ienaga merged 1 commit intomainfrom
develop
Nov 1, 2025
Merged

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

Conversation

@ienaga
Copy link
Member

@ienaga ienaga commented Nov 1, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 1, 2025 06:26
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

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
Copy link

Copilot AI Nov 1, 2025

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.

1 participant