From 7efbc16d5b653b9fd6d7061033caf368ad93bf5d Mon Sep 17 00:00:00 2001 From: Aliullov Vlad Date: Wed, 13 Sep 2023 19:32:10 +0400 Subject: [PATCH] Fix config for new devextreme-react version with cjs/esm bundles --- .github/workflows/visual_tests_frameworks.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/visual_tests_frameworks.yml b/.github/workflows/visual_tests_frameworks.yml index 367c3791b11..56807433e76 100644 --- a/.github/workflows/visual_tests_frameworks.yml +++ b/.github/workflows/visual_tests_frameworks.yml @@ -59,8 +59,8 @@ jobs: run: npm run build-npm-devextreme - name: Discover declarations - working-directory: ./devextreme/packages/devextreme - run: npm run discover-declarations + working-directory: ./devextreme + run: npm run tools:discover-declarations - name: Pack devextreme working-directory: ./devextreme/packages/devextreme/artifacts/npm/devextreme @@ -89,7 +89,7 @@ jobs: cp ./devextreme/packages/devextreme-angular/npm/dist/*.tgz ./devextreme-angular-installer.tgz cp ./devextreme/packages/devextreme-react/npm/*.tgz ./devextreme-react-installer.tgz cp ./devextreme/packages/devextreme-vue/npm/*.tgz ./devextreme-vue-installer.tgz - cp ./devextreme/packages/devextreme/artifacts/internal-tools/Declarations.json ./Declarations.json + cp ./devextreme/artifacts/internal-tools/Declarations.json ./Declarations.json - name: Copy build artifacts uses: actions/upload-artifact@v3 @@ -230,9 +230,11 @@ jobs: npm run update-topics - name: Inject descriptions - working-directory: ./devextreme/packages/devextreme + working-directory: ./devextreme run: | - npm run internal-tool -- inject-descriptions --descriptions-path ../../../../../devextreme-documentation-repo/artifacts/internal-tools/Descriptions.json --js-scripts ./js + mkdir -p ./artifacts/internal-tools + cp ../devextreme-documentation-repo/artifacts/internal-tools/Descriptions.json ./artifacts/internal-tools/ + npm run devextreme:inject-descriptions - name: Build continue-on-error: true