A GitHub Action for running Yarn commands in CI/CD workflows, compatible with Yarn 1.x.
Borales/actions-yarn is a GitHub Action that allows developers to run Yarn commands within GitHub Actions workflows. It solves the problem of automating package management tasks like installation, building, and testing in CI/CD pipelines. The action is specifically compatible with Yarn 1.x and integrates with Node.js setup for version management.
Developers and teams using Yarn 1.x for JavaScript/Node.js projects who want to automate their build, test, and deployment processes via GitHub Actions.
It provides a simple, configurable way to incorporate Yarn into CI/CD without manual scripting, ensuring consistent execution across environments. Its support for custom directories and private registry authentication makes it versatile for complex project structures.
GitHub Action for interacting with yarn
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a dedicated wrapper for running any Yarn command via the 'cmd' input, simplifying workflow configuration compared to manual shell scripting.
The 'dir' input allows executing commands in specific subdirectories, as shown in the README example for testing in a 'frontend' folder, ideal for complex project structures.
Integrates seamlessly with private npm registries by supporting the NODE_AUTH_TOKEN environment variable, enabling secure package installation.
Designed as a minimal wrapper focused on Yarn command execution, promoting consistent and repeatable builds without unnecessary bloat.
Only compatible with Yarn 1.x, making it obsolete for projects using Yarn 2 or newer versions with enhanced performance and features.
Requires prior Node.js setup using actions/setup-node, adding an additional step and potential complexity compared to all-in-one solutions.
Lacks integrated caching for node_modules or Yarn cache, which can lead to slower workflow runs unless manually implemented with other actions.