We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
utils
1 parent b320448 commit 4f3effbCopy full SHA for 4f3effb
1 file changed
.github/workflows/ci.yml
@@ -114,17 +114,16 @@ jobs:
114
changed_paths=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }})
115
116
# run everything?
117
- if echo "$changed_paths" | grep -qE '^(package\.json|\.github/workflows/ci\.yml)$'; then
+ if echo "$changed_paths" | grep -qE '^(package\.json|\.github/workflows/ci\.yml|utils/)$'; then
118
npm run test --workspaces
119
exit 0
120
fi
121
122
# run for specific workspace(s)
123
npm run test $(
124
echo "$changed_paths" \
125
- | awk -F/ '
126
- /^packages\// { print "--workspace=" $1 "/" $2 }
127
- /^utils\// { print "--workspace=utils" }
128
- ' \
+ | grep '^recipes/'
+ | cut -d/ -f1,2
129
| sort -u
+ | sed 's/^/--workspace=/'
130
)
0 commit comments