Skip to content

Commit

Permalink
Improvements (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs authored Nov 23, 2024
2 parents c404b04 + c36c644 commit 7f49e73
Show file tree
Hide file tree
Showing 15 changed files with 2,793 additions and 238 deletions.
18 changes: 17 additions & 1 deletion actions/plan/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,27 @@ jobs:
id: plan
uses: tripss/nx-extend/actions/plan@improvements
with:
# Plan projects with the following targets
targets: |
test
build
e2e
# Available options
# <target>MaxJobs - Amount of max jobs for this target
# <target>Tag - Tag the targets project needs to have (Supports conditional)
# <target>PreTargets - Targets of the targeted project to run before running the target
# <target>postTargets - Targets of the targeted project to run after running the target
# <target>Parallel - Amount of projects it can run in parallel

# Run build target when project has tag "build=enabled" AND "service" tag is not "vercel" OR has tag "service=react"
targetBuildTag:
build=enabled,service!=vercel
service=react

testMaxJobs: 1
testTag: tests=enabled
testTag: |
tests=enabled
buildMaxJobs: 3
buildPreTargets: |
Expand Down Expand Up @@ -79,5 +93,7 @@ jobs:
index: ${{ matrix.index }}
count: ${{ matrix.count }}
tag: ${{ matrix.tag }}
parallel: ${{ matrix.parallel }}
preTargets: ${{ matrix.preTargets }}
postTargets: ${{ matrix.postTargets }}
```
Loading

0 comments on commit 7f49e73

Please sign in to comment.