Open
Conversation
Removes the `--frozen-lockfile` flag from the `pnpm install` command in the GitHub Actions workflow. PNPM defaults to this behavior in CI environments (when a lockfile is present and CI environment variables are set), making the explicit flag unnecessary.
There was a problem hiding this comment.
Pull Request Overview
This pull request updates project configurations from npm to pnpm and fixes several CI workflow issues. Key changes include:
- Updating package.json scripts to use pnpm.
- Modifying README.md command examples to reflect pnpm usage.
- Upgrading GitHub Actions workflow steps including actions/checkout, actions/setup-node, and coveralls integration.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Changed the "posttest" script from "npm run lint" to "pnpm run lint". |
| README.md | Updated command examples and instructions to use pnpm instead of npm. |
| .github/workflows/node.yml | Upgraded GitHub Actions versions and replaced npm commands with pnpm commands, and removed the unneeded --frozen-lockfile flag. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the
--frozen-lockfileflag from thepnpm installcommand in the GitHub Actions workflow.PNPM defaults to this behavior in CI environments (when a lockfile is present and CI environment variables are set), making the explicit flag unnecessary.