fix(deps): update dependency semver to ^7.8.0 (#1125) #3905
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: Application tests | |
| on: | |
| push: | |
| pull_request: | |
| workflow_call: | |
| inputs: | |
| deps-version-tag: | |
| description: 'Version tag of scaffolder and framework' | |
| default: '' | |
| required: false | |
| type: string | |
| jobs: | |
| application-test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| APPROACH: | |
| - angular | |
| - vue-v3 | |
| - react | |
| - react-ts | |
| - react-swc | |
| - react-swc-ts | |
| - nextjs | |
| - nextjs-ts | |
| NODE: | |
| - 24 | |
| OS: | |
| - ubuntu-latest | |
| runs-on: ${{ matrix.OS }} | |
| env: | |
| VUE_CLI_CONFIG_PATH: $GITHUB_WORKSPACE/.vuerc | |
| DEPS_VERSION_TAG_PARAM: ${{ inputs.deps-version-tag != '' && format('--deps-version-tag {0}', inputs.deps-version-tag) || '' }} | |
| name: ${{ matrix.APPROACH }}, node ${{ matrix.NODE }}, ${{ matrix.OS }} | |
| steps: | |
| - name: Get sources | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| env: | |
| PUPPETEER_SKIP_DOWNLOAD: true | |
| run: pnpm install --frozen-lockfile | |
| - uses: browser-actions/setup-chrome@v1 | |
| id: setup-chrome | |
| - run: ${{ steps.setup-chrome.outputs.chrome-path }} --version | |
| - name: Set Legacy-peer-deps=true | |
| run: npm config set legacy-peer-deps true | |
| - name: Create ${{ matrix.APPROACH }} application | |
| working-directory: packages/devextreme-cli | |
| run: node ./testing/creating.js -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }} | |
| timeout-minutes: 30 | |
| - name: Install Internal Packages | |
| uses: DevExpress/github-actions/install-internal-package@main | |
| with: | |
| working-directory: packages/devextreme-cli/testing/sandbox/${{ matrix.APPROACH }}/my-app | |
| - name: Lint created application | |
| if: ${{ matrix.OS != 'windows-latest' }} | |
| run: pnpm run lint-template -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }} | |
| - name: Run template tests | |
| if: ${{ matrix.OS != 'windows-latest' }} | |
| env: | |
| LAUNCH_BROWSER: true | |
| CHROME_PATH: ${{ steps.setup-chrome.outputs.chrome-path }} | |
| run: pnpm run test-template -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }} | |
| timeout-minutes: 40 | |
| - name: Archive artifacts | |
| if: ${{ failure() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: app-tests-artifacts-${{ matrix.APPROACH }}-${{ matrix.NODE }}-${{ matrix.OS }} | |
| path: | | |
| test-results.xml | |
| packages/devextreme-cli/testing/__tests__/__diff_snapshots__ | |
| packages/devextreme-cli/testing/sandbox/logs | |
| merge-artifacts: | |
| runs-on: ubuntu-latest | |
| needs: application-test | |
| if: ${{ failure() && !cancelled() }} | |
| steps: | |
| - name: Merge Artifacts | |
| uses: actions/upload-artifact/merge@v4 | |
| continue-on-error: true | |
| with: | |
| name: artifacts | |
| pattern: app-tests-artifacts-* | |
| delete-merged: true | |
| schematics-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get sources | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Set up Node.js and restore cache | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| env: | |
| PUPPETEER_SKIP_DOWNLOAD: true | |
| run: pnpm install --frozen-lockfile | |
| - name: Run schematics tests | |
| run: pnpm --filter devextreme-schematics run test |