Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usage with workspaces/monorepo - option for path to package.json #13

Open
llaenowyd opened this issue May 14, 2022 · 0 comments
Open

usage with workspaces/monorepo - option for path to package.json #13

llaenowyd opened this issue May 14, 2022 · 0 comments

Comments

@llaenowyd
Copy link

llaenowyd commented May 14, 2022

In a monorepo with yarn workspaces, at the root there is a package.json but it has some scripting and dev dependencies for maintenance, then there is a library package as a workspace (subdirectory) that has its package.json - this one corresponding to the unit of release, so looking for e.g.

            - name: Validate and extract release information
              id: release
              uses: manovotny/github-releases-for-automated-package-publishing-action@v1.0.0
              with:
                  package-path: packages/lib/rito

Also but off topic, I could push a release tag for this unit of release, then the github action starts with

on:
  push:
    tags:
      - rito_v**

While this plugin doc shows a workflow starting with creating a Github release,

on:
    release:
        types: [created]

I haven't seen an example where this style is differentiated as the tag match above is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant