DataGrid - Canceled rows are hidden when multiple rows are added in b… #14294
This file contains 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: DevExtreme Wrappers Tests | |
on: | |
pull_request: | |
push: | |
branches: [24_1] | |
env: | |
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_TOKEN }} | |
NX_SKIP_NX_CACHE: ${{ (github.event_name != 'pull_request' || contains( github.event.pull_request.labels.*.name, 'skip-cache')) && 'true' || 'false' }} | |
BUILD_TEST_INTERNAL_PACKAGE: true | |
jobs: | |
test: | |
runs-on: devextreme-shr2 | |
timeout-minutes: 30 | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Get npm cache directory | |
id: npm-cache-dir | |
shell: bash | |
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} | |
- name: Restore npm cache | |
uses: actions/cache@v4 | |
with: | |
path: ${{ steps.npm-cache-dir.outputs.dir }} | |
key: ${{ runner.os }}-node-${{ github.workflow }}-${{ hashFiles('**/package-lock.json') }} | |
- name: Install npm packages | |
run: npm i --no-audit --no-fund | |
- name: Build devextreme package | |
working-directory: ./packages/devextreme | |
run: npx nx build | |
- name: Generate wrappers | |
run: npm run regenerate-all | |
- name: Check generated code | |
shell: bash | |
run: | | |
git add . -N | |
changes=$(git diff --name-status HEAD -- packages/devextreme-angular/src packages/devextreme-react/src packages/devextreme-vue/src) | |
if [ -n "$changes" ]; then | |
echo "Generated code is outdated. The following files have uncommitted changes:" | |
echo "$changes"; | |
echo "To update generated code, use "npm run regenerate-all" and commit changes." | |
exit 1 | |
fi | |
- name: Angular - Build | |
run: npx nx build devextreme-angular | |
- name: Angular - Run tests | |
run: npx nx test:dev devextreme-angular | |
- name: Angular - Check packing | |
run: npx nx pack devextreme-angular | |
- name: React - Run tests | |
run: npx nx test devextreme-react | |
- name: React - Check packing | |
run: npx nx pack devextreme-react | |
- name: Vue - Run tests | |
run: npx nx test devextreme-vue | |
- name: Vue - Check packing | |
run: npx nx pack devextreme-vue | |
- name: Archive internal-tools artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: internal-tools-artifacts | |
path: artifacts/internal-tools/ | |
retention-days: 7 |