Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 18 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
with:
node-version: "20.x"
- name: Install dependencies
run: npm install
run: npm ci
- name: Lint
run: npm run lint

MacOsTest:
EngageMacOsTest:
needs: Lint
name: ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests
runs-on: ${{ matrix.os }}
Expand All @@ -31,11 +31,13 @@ jobs:
with:
node-version: ${{ matrix.nodeVersion }}
- name: Install dependencies
run: npm install
run: npm ci
- name: Build CLI
run: npm run build
- name: Run tests
run: npm run test
run: npm run engagetest

WindowsTest:
EngageWindowsTest:
needs: Lint
name: ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests
runs-on: ${{ matrix.os }}
Expand All @@ -45,16 +47,18 @@ jobs:
nodeVersion: ["22.13.1", "24.14.1"]
os: [windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.nodeVersion }}
- name: Install dependencies
run: npm install
run: npm ci
- name: Build CLI
run: npm run build
- name: Run tests
run: npm run test
run: npm run engagetest

UbuntuTest:
EngageUbuntuTest:
needs: Lint
name: ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests
runs-on: ${{ matrix.os }}
Expand All @@ -71,6 +75,8 @@ jobs:
- name: Install libsecret
run: sudo apt-get install -y libsecret-1-0
- name: Install dependencies
run: npm install
run: npm ci
- name: Build CLI
run: npm run build
- name: Run tests
run: npm run test
run: npm run engagetest
1 change: 1 addition & 0 deletions bin/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ enableCompileCache();

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