Skip to content

Commit

Permalink
fix dependency issue with foreach
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbalfour committed Oct 23, 2023
1 parent e4f4dcb commit b602ed1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:

- name: Fetch config
run: |
yarn workspaces foreach --parallel --verbose --since run conf --name development
yarn workspaces foreach --parallel --verbose --since --recursive run conf --name development
- name: Build
run: |
yarn workspaces foreach --parallel --verbose --since run build
yarn workspaces foreach --parallel --verbose --since --recursive run build
4 changes: 2 additions & 2 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:

- name: Fetch config
run: |
yarn workspaces foreach --parallel --verbose --since run conf --name development
yarn workspaces foreach --parallel --verbose --since --recursive run conf --name development
- name: TypeCheck
run: |
yarn workspaces foreach --parallel --verbose --since run check
yarn workspaces foreach --parallel --verbose --since --recursive run check
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:

- name: Lint
run: |
yarn workspaces foreach --parallel --verbose --since run lint
yarn workspaces foreach --parallel --verbose --since --recursive run lint
8 changes: 4 additions & 4 deletions .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ jobs:
- name: Fetch config
run: |
yarn workspaces foreach --parallel --verbose --since run conf --name development
yarn workspaces foreach --parallel --verbose --since --recursive run conf --name development
- name: Build
run: |
yarn workspaces foreach --parallel --verbose --since run build
yarn workspaces foreach --parallel --verbose --since --recursive run build
- name: Release
run: |
yarn workspaces foreach --parallel --verbose --since run release
yarn workspaces foreach --parallel --verbose --since --recursive run release
- name: Deploy
run: |
yarn workspaces foreach --parallel --verbose --since run deploy
yarn workspaces foreach --parallel --verbose --since --recursive run deploy
4 changes: 2 additions & 2 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:

- name: Fetch config
run: |
yarn workspaces foreach --parallel --verbose --since run conf --name development
yarn workspaces foreach --parallel --verbose --since --recursive run conf --name development
- name: Test
run: |
yarn workspaces foreach --parallel --verbose --interlaced --since run test --watch=false --ci --forceExit --detectOpenHandles --runInBand --passWithNoTests --shard=${{ matrix.shard }}
yarn workspaces foreach --parallel --verbose --interlaced --since --recursive run test --watch=false --ci --forceExit --detectOpenHandles --runInBand --passWithNoTests --shard=${{ matrix.shard }}
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
BRANCH="$(git rev-parse --abbrev-ref HEAD)"

if [[ "$BRANCH" != *"chore/ts-definitions-timestamp-"* ]]; then
yarn workspaces foreach --since --parallel --verbose --interlaced run commit
yarn workspaces foreach --since --recursive --parallel --verbose --interlaced run commit
fi

if [[ `git status --porcelain` ]]; then
Expand Down

0 comments on commit b602ed1

Please sign in to comment.