Skip to content

Commit 7afe848

Browse files
committed
chore: run lint in the right dir
1 parent aebadac commit 7afe848

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,17 @@ jobs:
6464
with:
6565
runner: ubuntu-22.04
6666
node-version: 22.x
67-
workspace: "packages/testcontainers"
67+
workspace: "${{ matrix.module }}"
6868
- name: Code linting
69+
working-directory: ${{ matrix.module }}
6970
run: npm run lint:ci -- ${{ matrix.module }}
7071

7172
smoke-test:
7273
# only run if there are modules to lint
7374
if: ${{ needs.detect-modules.outputs.modules_count > 0 }}
75+
needs:
76+
- detect-modules
77+
- lint
7478
name: Smoke test
7579
strategy:
7680
matrix:

0 commit comments

Comments
 (0)