Skip to content

Get Yarn Workspace Packages

Actions
Returns packages in a Yarn workspace
v0.0.1-alpha.4
LatestPre-release
Star (0)

Tags

 (1)

Maintainability Test Coverage

Yarn Workspace Packages

Returns the packages defined in a Yarn workspace.

About

This action works with Yarn workspaces and offers an easy way to get the list of packages defined in your workspace.

Usage

name: Get packages
on: [push, pull_request]
jobs:
  get-workspace-packages:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Get packages in workspace
        uses: caffco/yarn-workspace-pacakges-github-action@v1.0.0
        with:
          repository_path: .

  run-tests:
    runs-on: ubuntu-latest
    steps:
        - name: Print packages
        needs: get-workspace-packages
        run: echo ${{ needs.get-workspace-packages.outputs.package_names }}

Get Yarn Workspace Packages is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Returns packages in a Yarn workspace
v0.0.1-alpha.4
LatestPre-release

Tags

 (1)

Get Yarn Workspace Packages is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.