chore(Search, Typescript): improves the GFacet types (more accurate) #1809
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] | |
| workflow_call: | |
| jobs: | |
| inspect-code: | |
| name: 'Inspect Code' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| cache: npm | |
| node-version: lts/iron | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm run test -- --coverage | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v3 | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| node-compatibility: | |
| name: 'Node.js Compatibility' | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: ['lts/iron', 'lts/jod', '24.x'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| cache: npm | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| - run: npm run test |