AB#128626 - ABC - prevent read-only grids in froms to display any data if filter is empty #1234
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 | |
| - next | |
| - beta | |
| - alpha | |
| pull_request: | |
| branches: | |
| - main | |
| - next | |
| - beta | |
| - alpha | |
| - '[0-9]*.[0-9x]*.x' | |
| workflow_dispatch: | |
| inputs: | |
| project: | |
| type: choice | |
| description: Select project ( leave blank to run on all projects ) | |
| options: | |
| - front-office | |
| - back-office | |
| - ui | |
| - shared | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js 22.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: 'npm' | |
| - name: Get package version | |
| id: get_version | |
| run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Run ${{ github.event.inputs.project }} tests - ${{ steps.get_version.outputs.version }} | |
| run: npx nx run ${{ github.event.inputs.project }}:test:ci --skip-nx-cache | |
| if: ${{ github.event.inputs.project != '' }} | |
| - name: Run all tests - ${{ steps.get_version.outputs.version }} | |
| run: npm run test -- --skip-nx-cache | |
| if: ${{ github.event.inputs.project == '' }} |