Skip to content

Commit bcab998

Browse files
sarageriondreamorosi
authored andcommitted
fix(cicd): lint & test commands for examples and layer
1 parent 9f65070 commit bcab998

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/reusable-run-linting-check-and-unit-tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ jobs:
7676
- name: Install dependencies
7777
# We can skip the installation if there was a cache hit
7878
if: steps.cache-node-modules.outputs.cache-hit != 'true'
79-
run: npm run lerna -- exec npm ci --scope ${{ matrix.example }}-example
79+
run: npm ci
8080
- name: Run linting
81-
run: npm run lint
81+
run: npm run lerna -- run lint --scope ${{ matrix.example }}-example
8282
- name: Run tests
8383
run: npm run lerna -- run test --scope ${{ matrix.example }}-example
8484
check-layer-publisher:
@@ -103,6 +103,6 @@ jobs:
103103
- name: Install Layer publisher
104104
# We can skip the installation if there was a cache hit
105105
if: steps.cache-node-modules.outputs.cache-hit != 'true'
106-
run: npm run lerna -- exec npm ci --scope layer-publisher
106+
run: npm ci
107107
- name: Run linting
108108
run: npm run lerna -- run lint --scope layer-publisher

0 commit comments

Comments
 (0)