Skip to content

Commit

Permalink
feat(workflows): Add internal package deps to existing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
muntaxir4 committed Dec 17, 2024
1 parent 83a1851 commit 0aed132
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/validate-api-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,18 @@ on:
- '!develop'
- '!main'
paths:
['packages/api-client/**', '.github/workflows/validate-api-client.yml']
[
'packages/schema/**',
'packages/api-client/**',
'.github/workflows/validate-api-client.yml'
]
pull_request:
paths:
['packages/api-client/**', '.github/workflows/validate-api-client.yml']
[
'packages/schema/**',
'packages/api-client/**',
'.github/workflows/validate-api-client.yml'
]

jobs:
validate:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/validate-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ on:
- '!main'
paths:
[
'packages/api-client/**',
'packages/secret-scan/**',
'apps/cli/**',
'.github/workflows/validate-cli.yml',
'.github/workflows/deploy-cli.yml'
]
pull_request:
paths:
[
'packages/api-client/**',
'packages/secret-scan/**',
'apps/cli/**',
'.github/workflows/deploy-cli.yml',
'.github/workflows/validate-cli.yml'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/validate-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ on:
- '!main'
paths:
[
'packages/api-client/**',
'apps/platform/**',
'.github/workflows/validate-platform.yml',
'.github/workflows/deploy-platform.yml'
]
pull_request:
paths:
[
'packages/api-client/**',
'apps/platform/**',
'.github/workflows/deploy-platform.yml',
'.github/workflows/validate-platform.yml'
Expand Down Expand Up @@ -58,4 +60,4 @@ jobs:
- name: Lint
run: |
pnpm run lint:platform
pnpm run lint:platform

0 comments on commit 0aed132

Please sign in to comment.