Skip to content

Commit 3d4aada

Browse files
Merge branch 'dev' of https://github.com/DevExpress/devextreme-cli into dev
2 parents a1e42f3 + 5927783 commit 3d4aada

File tree

249 files changed

+4119
-3512
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

249 files changed

+4119
-3512
lines changed

.github/workflows/applications.yml

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ on:
55
pull_request:
66
workflow_call:
77
inputs:
8-
external-tools-version:
9-
description: 'Version of external tools'
10-
default: latest
8+
deps-version-tag:
9+
description: 'Version tag of scaffolder and framework'
10+
default: ''
1111
required: false
1212
type: string
1313

@@ -20,9 +20,10 @@ jobs:
2020
- angular
2121
- vue-v3
2222
- react
23+
- react-swc
2324
- react-ts
25+
- react-swc-ts
2426
NODE:
25-
- 16
2627
- 18
2728
OS:
2829
- ubuntu-latest
@@ -31,14 +32,14 @@ jobs:
3132
runs-on: ${{ matrix.OS }}
3233
env:
3334
VUE_CLI_CONFIG_PATH: $GITHUB_WORKSPACE/.vuerc
34-
TOOLING_VERSION_PARAM: ${{ inputs.external-tools-version != '' && format('--tooling-version {0}', inputs.external-tools-version) || '' }}
35+
DEPS_VERSION_TAG_PARAM: ${{ inputs.deps-version-tag != '' && format('--deps-version-tag {0}', inputs.deps-version-tag) || '' }}
3536

3637
name: ${{ matrix.APPROACH }}, node ${{ matrix.NODE }}, ${{ matrix.OS }}
3738

3839
steps:
3940

4041
- name: Get sources
41-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4243

4344
- name: Run npm install
4445
env:
@@ -49,8 +50,11 @@ jobs:
4950
id: setup-chrome
5051
- run: ${{ steps.setup-chrome.outputs.chrome-path }} --version
5152

53+
- name: Set Legacy-peer-deps=true
54+
run: npm config set legacy-peer-deps true
55+
5256
- name: Create ${{ matrix.APPROACH }} application
53-
run: npm run create-template -- -- -e ${{ matrix.APPROACH }} ${{ env.TOOLING_VERSION_PARAM }}
57+
run: npm run create-template -- -- -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }}
5458
timeout-minutes: 30
5559

5660
- name: Install Internal Packages
@@ -60,37 +64,50 @@ jobs:
6064

6165
- name: Lint created application
6266
if: ${{ matrix.OS != 'windows-latest' }}
63-
run: npm run lint-template -- -- -e ${{ matrix.APPROACH }} ${{ env.TOOLING_VERSION_PARAM }}
67+
run: npm run lint-template -- -- -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }}
6468

6569
- name: Run template tests
6670
if: ${{ matrix.OS != 'windows-latest' }}
6771
env:
6872
LAUNCH_BROWSER: true
6973
CHROME_PATH: ${{ steps.setup-chrome.outputs.chrome-path }}
70-
run: npm run test-template -- -- -e ${{ matrix.APPROACH }} ${{ env.TOOLING_VERSION_PARAM }}
74+
run: npm run test-template -- -- -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }}
7175
timeout-minutes: 40
7276

7377
- name: Archive artifacts
7478
if: ${{ failure() }}
75-
uses: actions/upload-artifact@v3
79+
uses: actions/upload-artifact@v4
7680
with:
77-
name: artifacts
81+
name: app-tests-artifacts-${{ matrix.APPROACH }}-${{ matrix.NODE }}-${{ matrix.OS }}
7882
path: |
7983
test-results.xml
8084
packages/devextreme-cli/testing/__tests__/__diff_snapshots__
8185
packages/devextreme-cli/testing/sandbox/logs
8286
87+
merge-artifacts:
88+
runs-on: ubuntu-latest
89+
needs: application-test
90+
if: ${{ failure() && !cancelled() }}
91+
steps:
92+
- name: Merge Artifacts
93+
uses: actions/upload-artifact/merge@v4
94+
continue-on-error: true
95+
with:
96+
name: artifacts
97+
pattern: app-tests-artifacts-*
98+
delete-merged: true
99+
83100
schematics-test:
84101
runs-on: ubuntu-latest
85102
steps:
86103

87104
- name: Get sources
88-
uses: actions/checkout@v3
105+
uses: actions/checkout@v4
89106

90107
- name: Set up Node.js and restore cache
91-
uses: actions/setup-node@v3
108+
uses: actions/setup-node@v4
92109
with:
93-
node-version: 16
110+
node-version: 18
94111
cache: 'npm'
95112
cache-dependency-path: '**/package-lock.json'
96113

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040

4141
# Initializes the CodeQL tools for scanning.
4242
- name: Initialize CodeQL

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
steps:
1515

1616
- name: Get sources
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818

1919
- name: Use Node.js
20-
uses: actions/setup-node@v2
20+
uses: actions/setup-node@v4
2121
with:
22-
node-version: '14'
22+
node-version: '18'
2323

2424
- name: Run npm install
2525
run: npm install --no-package-lock --no-audit --no-fund

.github/workflows/schedule-cli-tests-latest-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Run CLI tests
1111
uses: ./.github/workflows/applications.yml
1212
with:
13-
external-tools-version: latest
13+
external-tools-version-tag: latest
1414

1515
teams_notification_on_failure:
1616
name: Send Teams notification

.github/workflows/schedule-cli-tests-next-version.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: Schedule tests for next versions of external CLIs
22

33
on:
44
workflow_dispatch:
5-
schedule:
6-
- cron: "0 1 * * 1"
5+
# schedule:
6+
# - cron: "0 1 * * 1"
77

88
jobs:
99
call_tests_workflow:
1010
name: Run CLI tests
1111
uses: ./.github/workflows/applications.yml
1212
with:
13-
external-tools-version: next
13+
external-tools-version-tag: next
1414

1515
teams_notification_on_failure:
1616
name: Send Teams notification

.github/workflows/themebuilder.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
NODE: [ 16, 18 ]
10+
NODE: [ 18 ]
1111

1212
runs-on: ubuntu-latest
1313
name: ThemeBuilder
@@ -16,15 +16,15 @@ jobs:
1616
steps:
1717

1818
- name: Get sources
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Use Node.js
22-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ matrix.NODE }}
2525

2626
- name: Restore npm cache
27-
uses: actions/cache@v3
27+
uses: actions/cache@v4
2828
with:
2929
path: ~/.npm
3030
key: themebuilder-${{ runner.os }}-node-${{ matrix.NODE }}-${{ hashFiles('**/package-lock.json') }}

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"packages": [
33
"packages/*"
44
],
5-
"version": "1.7.1"
5+
"version": "1.9.0"
66
}

0 commit comments

Comments
 (0)