Merge pull request #665 from cluesmith/builder/bugfix-664-dashboard-e… #1493
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CLI Integration Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| schedule: | |
| # Run daily at 9am UTC (2am PST / 5am EST) | |
| - cron: '0 9 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| cli: | |
| name: CLI Tests (${{ matrix.os }}) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install package dependencies | |
| working-directory: packages/codev | |
| run: npm install | |
| - name: Build package | |
| working-directory: packages/codev | |
| run: npm run build | |
| - name: Run CLI integration tests | |
| working-directory: packages/codev | |
| run: npx vitest run --config vitest.cli.config.ts |