Release Cleanup #20
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: CI | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| test: | |
| name: Test on Node.js ${{ matrix.node-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x, 20.x, 22.x, 24.x, 25.x] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: npm | |
| cache-dependency-path: packages/cli/package-lock.json | |
| - name: Install dependencies | |
| working-directory: packages/cli | |
| run: npm ci | |
| - name: Lint (type-check) | |
| working-directory: packages/cli | |
| run: npm run lint | |
| - name: Run tests | |
| working-directory: packages/cli | |
| run: npm test | |
| - name: Build | |
| working-directory: packages/cli | |
| run: npm run build | |
| - name: Test CLI entry point | |
| working-directory: packages/cli | |
| run: node bin/run.js --help |