{"id":14985922,"url":"https://github.com/borales/actions-yarn","last_synced_at":"2025-05-14T10:13:46.252Z","repository":{"id":37276019,"uuid":"159873398","full_name":"Borales/actions-yarn","owner":"Borales","description":"GitHub Action for interacting with yarn","archived":false,"fork":false,"pushed_at":"2025-03-31T20:03:26.000Z","size":1333,"stargazers_count":309,"open_issues_count":8,"forks_count":60,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T21:22:15.720Z","etag":null,"topics":["actions","github-actions"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Borales.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-30T20:08:44.000Z","updated_at":"2025-03-30T13:26:52.000Z","dependencies_parsed_at":"2024-03-04T19:39:54.268Z","dependency_job_id":"ffc43670-4b6a-40d8-8c7f-e63ab35f2092","html_url":"https://github.com/Borales/actions-yarn","commit_stats":{"total_commits":329,"total_committers":11,"mean_commits":29.90909090909091,"dds":0.2887537993920972,"last_synced_commit":"5a78b0e07c1acddd5a60ebb8085d519a637ef75b"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Borales%2Factions-yarn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Borales%2Factions-yarn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Borales%2Factions-yarn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Borales%2Factions-yarn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Borales","download_url":"https://codeload.github.com/Borales/actions-yarn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248338384,"owners_count":21087207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","github-actions"],"created_at":"2024-09-24T14:11:57.402Z","updated_at":"2025-04-11T03:38:19.827Z","avatar_url":"https://github.com/Borales.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Actions for Yarn\n\nThis GitHub Action is currently compatible with Yarn 1.x only.\n\n\u003e Look [github.com/actions/setup-node](https://github.com/actions/setup-node) for more details.\n\nThis Action for [yarn](https://yarnpkg.com) enables arbitrary actions with the `yarn` command-line client, including testing packages and publishing to a registry.\n\n## Usage\n\n\u003e It is required to run `actions/setup-node@v3` before `borales/actions-yarn` in order to setup the desired node version.\n\nAn example workflow how to install packages via Yarn (using repository syntax):\n\n```yml\nname: CI\non: [push]\n\njobs:\n  build:\n    name: Test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set Node.js 16.x\n        uses: actions/setup-node@v3\n        with:\n          node-version: 16.x\n\n      - name: Run install\n        uses: borales/actions-yarn@v4\n        with:\n          cmd: install # will run `yarn install` command\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # if needed\n      - name: Build production bundle\n        uses: borales/actions-yarn@v4\n        with:\n          cmd: build:prod # will run `yarn build:prod` command\n      - name: Test the app\n        uses: borales/actions-yarn@v4\n        with:\n          cmd: test # will run `yarn test` command\n\n      - name: Run test in sub-folder\n        uses: borales/actions-yarn@v4\n        with:\n          cmd: test\n          dir: 'frontend' # will run `yarn test` in `frontend` sub folder\n```\n\n\u003e `cmd` value will be used as a command for Yarn\n\u003e\n\u003e `dir` value will be used for Yarn `cwd`\n\nMore information about [private registry setup](https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#use-private-packages).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborales%2Factions-yarn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborales%2Factions-yarn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborales%2Factions-yarn/lists"}