Skip to content

Commit f2ad508

Browse files
committed
chore: attempt to fix ci script for CLI tests
1 parent ee43a7d commit f2ad508

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
mongodb-version: ${{ matrix.mongodb-version }}
4343

4444
- name: Install dependencies
45-
run: npm i
45+
run: npm ci --include-workspace-root
4646

4747
# for now only check the types of the server
4848
# tsconfig isn't quite set up right to respect what vite accepts

packages/git-proxy-cli/test/testCli.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const TEST_PASSWORD = 'testpassword';
2525
const TEST_EMAIL = 'jane.doe@email.com';
2626
const TEST_GIT_ACCOUNT = 'testGitAccount';
2727

28-
const CLI_PATH = process.env.NODE_ENV === 'test' ? 'node ../dist/index.js' : 'npx git-proxy-cli';
28+
const CLI_PATH = 'npx git-proxy-cli';
2929

3030
describe('test git-proxy-cli', function () {
3131
// *** help ***

0 commit comments

Comments
 (0)