Removing antlr and preparing for the new major release #3251
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: | |
| - '*' | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| - name: Install | |
| run: npm ci | |
| - name: lint | |
| run: npm run lint | |
| test_bundle: | |
| name: Test production | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| - name: Install | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Build test app | |
| run: npm run build:test | |
| - name: Run tests | |
| run: npm run test:standalone -- --runInBand | |
| test_linux: | |
| name: Test on Linux with Node ${{ matrix.node }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: [22, 24, 26] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: 'npm' | |
| - name: Install | |
| run: npm ci | |
| - name: Run tests | |
| run: npm run test:all -- --runInBand | |
| test_macos: | |
| name: Test on MacOS with Node 22 | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| - name: Install | |
| run: npm ci | |
| - name: Run tests | |
| run: npm run test:all -- --runInBand | |
| test_windows: | |
| name: Test on Windows with Node 22 | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| - name: Install | |
| run: npm ci | |
| - name: Run tests | |
| run: npm run test:all -- --runInBand |