Skip to content

Conversation

@mahabaleshwars
Copy link

Description:
Updated the documentation to clarify how to run setup-node without a lockfile.

Related issue:
#928

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

Copilot AI review requested due to automatic review settings December 17, 2025 06:46
@mahabaleshwars mahabaleshwars requested a review from a team as a code owner December 17, 2025 06:46
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 documentation to clarify how to use setup-node without a lockfile, addressing issue #928. The changes soften the recommendation language around lockfiles from absolute ("always") to advisory ("strongly recommended" and "Most"), and add a new section explaining how to properly configure the action when not using a lockfile.

Key changes:

  • Modified the strength of lockfile recommendations from mandatory to advisory language
  • Added a new "Running without a lockfile" subsection with clear instructions on disabling caching
  • Updated the README table of contents to include the "Using private mirror" section

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/advanced-usage.md Changed "All" to "Most" in lockfile recommendation, added new subsection documenting how to run without a lockfile with proper cache configuration
README.md Softened lockfile recommendation from "always" to "strongly recommended", added missing TOC entry for private mirror section

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

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.

3 participants