feat: detect top-level jsx expressions. #211
Workflow file for this run
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 | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| ci: | |
| name: CI (Node ${{ matrix.version }}-${{ matrix.os }}) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| version: ['22.21.1', '24.11.1'] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.1 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6.2.0 | |
| with: | |
| node-version: ${{ matrix.version }} | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Save error log | |
| uses: actions/upload-artifact@v6.0.0 | |
| if: ${{ failure() }} | |
| with: | |
| name: npm-debug-log-${{ hashFiles('package-lock.json') }} | |
| path: npm-debug.log | |
| - name: Check Cycles | |
| run: npm run cycles | |
| - name: Check Types | |
| run: npm run check-types | |
| - name: Test | |
| run: npm test | |
| - name: Report Coverage | |
| uses: codecov/codecov-action@v5.5.2 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Size Check | |
| run: npm run sizecheck | |
| - name: Pack | |
| run: npm pack |