OI-34 fixing bug - removing yarn error - #19
Closed
sedv8808 wants to merge 1 commit into
Closed
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request migrates the repository’s CI build/deploy pipeline from Yarn to npm by removing Yarn tooling configuration and updating the GitHub Actions workflow to use npm for installs and builds.
Changes:
- Removed the Yarn
packageManagerpin frompackage.json. - Updated
.github/workflows/main.ymlto useactions/setup-node, cache npm downloads, runnpm install, and build vianpm run build.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Removes the Yarn packageManager declaration to avoid Yarn-specific tooling expectations. |
| .github/workflows/main.yml | Replaces Yarn cache/install/build steps with npm equivalents and adds a Node setup step. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+32
to
+34
| # setup-node's built-in `cache: npm` is not used: it requires a committed | ||
| # lockfile, and package-lock.json is gitignored in this repo. | ||
| - name: Cache npm downloads |
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.
This pull request migrates the project build and deployment process from Yarn to npm. The workflow file and
package.jsonhave been updated to remove Yarn-specific steps and configurations, and to use npm for dependency management and builds.Build and Dependency Management Migration:
.github/workflows/main.ymlwith npm equivalents, including updating the cache to use npm's cache directory and commands.packageManagerfield referencing Yarn frompackage.json, fully transitioning the project to npm.