Skip to content

Monorepo or yarnWorkspaces support? #260

Answered by ArtiomTr
marexandre asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @marexandre 👋,

Yes, it is possible to run this action on yarn workspaces setup. You can simply run action for each package separately:

name: CI
on:
    pull_request:
        branches: [main]
jobs:
    coverage:
        name: Coverage report
        runs-on: ubuntu-latest
        strategy:
            matrix:
                path: 
                    - ./packages/first
                    - ./packages/second
                    - ./apps/main
                    - ./apps/other
        steps:
            - uses: actions/checkout@v1

            - name: Use Node 14.x
              uses: actions/setup-node@v1
              with:
                  node-version: 14.x

            - name: I…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by marexandre
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants