Skip to content

Commit 83808e6

Browse files
authored
Merge pull request #289 from appcelerator/APIGOV-32698
APIGOV-32698 Engage CLI - Add Unit Testing
2 parents 0cc90c6 + 5f94d1c commit 83808e6

207 files changed

Lines changed: 28981 additions & 150 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
node-version: "20.x"
1414
- name: Install dependencies
15-
run: npm install
15+
run: npm ci
1616
- name: Lint
1717
run: npm run lint
1818

@@ -31,7 +31,9 @@ jobs:
3131
with:
3232
node-version: ${{ matrix.nodeVersion }}
3333
- name: Install dependencies
34-
run: npm install
34+
run: npm ci
35+
- name: Build CLI
36+
run: npm run build
3537
- name: Run tests
3638
run: npm run test
3739

@@ -45,12 +47,14 @@ jobs:
4547
nodeVersion: ["22.13.1", "24.14.1"]
4648
os: [windows-latest]
4749
steps:
48-
- uses: actions/checkout@v2
49-
- uses: actions/setup-node@v2
50+
- uses: actions/checkout@v4
51+
- uses: actions/setup-node@v4
5052
with:
5153
node-version: ${{ matrix.nodeVersion }}
5254
- name: Install dependencies
53-
run: npm install
55+
run: npm ci
56+
- name: Build CLI
57+
run: npm run build
5458
- name: Run tests
5559
run: npm run test
5660

@@ -71,6 +75,8 @@ jobs:
7175
- name: Install libsecret
7276
run: sudo apt-get install -y libsecret-1-0
7377
- name: Install dependencies
74-
run: npm install
78+
run: npm ci
79+
- name: Build CLI
80+
run: npm run build
7581
- name: Run tests
7682
run: npm run test

bin/run.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ enableCompileCache();
44

55
import { execute, settings } from '@oclif/core';
66
settings.performanceEnabled = true;
7+
settings.enableAutoTranspile = false;
78
await execute({ dir: import.meta.url });

0 commit comments

Comments
 (0)