Skip to content

Commit c1ab2a5

Browse files
committed
Stay in cli/ but ignore scripts?
1 parent f10b76b commit c1ab2a5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/cli_tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
test:
1313
runs-on: ubuntu-latest
14+
defaults:
15+
run:
16+
working-directory: ./cli
1417
steps:
1518
- uses: actions/checkout@v4
1619

@@ -21,10 +24,10 @@ jobs:
2124
cache: npm
2225

2326
- name: Install dependencies
24-
run: npm install --workspace=cli
27+
run: npm install --ignore-scripts
2528

2629
- name: Build CLI
27-
run: npm run build --workspace=cli
30+
run: npm run build
2831

2932
- name: Run tests
30-
run: npm run test --workspace=cli
33+
run: npm test

0 commit comments

Comments
 (0)