Skip to content

Commit d565ad0

Browse files
committed
Filtering test
1 parent 72fa299 commit d565ad0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.common.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
working_directory:
66
required: true
77
type: string
8+
package_name:
9+
required: true
10+
type: string
811
node_version:
912
required: true
1013
type: string
@@ -33,8 +36,7 @@ jobs:
3336
working-directory: ${{ inputs.working_directory }}
3437

3538
- name: Run Tests
36-
run: npm run test:ci
37-
## TODO: refactor to have turbo cache
39+
run: npm run test:ci -- --filter=${{ inputs.package_name }}
3840
working-directory: ${{ inputs.working_directory }}
3941

4042
- name: Docker stop

0 commit comments

Comments
 (0)