From 66eeddaeff20427124b9f70a4e6a7b14c2b09efe Mon Sep 17 00:00:00 2001 From: "andrei.kharitonov" Date: Mon, 8 Sep 2025 13:18:37 +0200 Subject: [PATCH 1/7] Change npm i to ci --- .github/actions/dotnet-test-build/action.yml | 2 +- .github/workflows/ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/dotnet-test-build/action.yml b/.github/actions/dotnet-test-build/action.yml index 01f01487..1a791a48 100644 --- a/.github/actions/dotnet-test-build/action.yml +++ b/.github/actions/dotnet-test-build/action.yml @@ -19,7 +19,7 @@ runs: path: ~/.nuget/packages - shell: bash - run: cd net/Sample && npm i + run: cd net/Sample && npm ci - shell: bash run: dotnet build -c Debug net/DevExtreme.AspNet.Data.sln diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a83b44a9..9d3f0996 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: - run: curl -L https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.3.5/ec-linux-amd64.tar.gz | tar xzf - -C /opt - run: /opt/bin/ec-linux-amd64 -v - - run: npm i eslint + - run: VERSION=$(node -p "require('./package-lock.json').packages['node_modules/eslint'].version") && npm i --no-save eslint@$VERSION - run: npm run eslint test-js: @@ -50,7 +50,7 @@ jobs: - run: node build/make-nojquery - - run: npm i --omit=peer + - run: npm ci --omit=peer - run: npm i --no-save "devextreme@${{ matrix.version }}" - name: Instal devextreme-dist if: ${{ matrix.version == '>=23.1.0' }} From ff5ad89e8e4e0d7e7a5f5606e4c1dd8b9eb37585 Mon Sep 17 00:00:00 2001 From: "andrei.kharitonov" Date: Mon, 8 Sep 2025 13:33:45 +0200 Subject: [PATCH 2/7] Test --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d3f0996..c32ccf39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,11 @@ jobs: - run: curl -L https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.3.5/ec-linux-amd64.tar.gz | tar xzf - -C /opt - run: /opt/bin/ec-linux-amd64 -v - - run: VERSION=$(node -p "require('./package-lock.json').packages['node_modules/eslint'].version") && npm i --no-save eslint@$VERSION + - env: + ESLINT_VERSION: $(node -p "require('./package-lock.json').packages['node_modules/eslint'].version") + run: | + npm i --no-save eslint@$ESLINT_VERSION + echo "ESLint version: $ESLINT_VERSION" - run: npm run eslint test-js: From da227594058b9eb44d7da09094ad6afa6fc5c13f Mon Sep 17 00:00:00 2001 From: "andrei.kharitonov" Date: Mon, 8 Sep 2025 13:34:58 +0200 Subject: [PATCH 3/7] Test --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c32ccf39..8f676b11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,9 +32,8 @@ jobs: - run: curl -L https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.3.5/ec-linux-amd64.tar.gz | tar xzf - -C /opt - run: /opt/bin/ec-linux-amd64 -v - - env: - ESLINT_VERSION: $(node -p "require('./package-lock.json').packages['node_modules/eslint'].version") - run: | + - run: | + ESLINT_VERSION=$(node -p "require('./package-lock.json').packages['node_modules/eslint'].version") npm i --no-save eslint@$ESLINT_VERSION echo "ESLint version: $ESLINT_VERSION" - run: npm run eslint From 01b10fc4bc6ccc17d59261ef67435e1f2e8ed80f Mon Sep 17 00:00:00 2001 From: "andrei.kharitonov" Date: Mon, 8 Sep 2025 13:36:08 +0200 Subject: [PATCH 4/7] Fix --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f676b11..c6943bf3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,6 @@ jobs: - run: | ESLINT_VERSION=$(node -p "require('./package-lock.json').packages['node_modules/eslint'].version") npm i --no-save eslint@$ESLINT_VERSION - echo "ESLint version: $ESLINT_VERSION" - run: npm run eslint test-js: From fac94e3b023a31e07fbd344239ada7c73ff7231a Mon Sep 17 00:00:00 2001 From: "andrei.kharitonov" Date: Mon, 8 Sep 2025 13:39:18 +0200 Subject: [PATCH 5/7] Fix --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6943bf3..550b562b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,8 @@ jobs: - run: curl -L https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.3.5/ec-linux-amd64.tar.gz | tar xzf - -C /opt - run: /opt/bin/ec-linux-amd64 -v - - run: | + - name: Run ESLint + run: | ESLINT_VERSION=$(node -p "require('./package-lock.json').packages['node_modules/eslint'].version") npm i --no-save eslint@$ESLINT_VERSION - run: npm run eslint From 82f08b0fe40b142e6b5951c6a28f8537d54f9d5e Mon Sep 17 00:00:00 2001 From: "andrei.kharitonov" Date: Mon, 8 Sep 2025 13:40:27 +0200 Subject: [PATCH 6/7] Fix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 550b562b..d992afe9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: - run: curl -L https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.3.5/ec-linux-amd64.tar.gz | tar xzf - -C /opt - run: /opt/bin/ec-linux-amd64 -v - - name: Run ESLint + - name: Install ESLint run: | ESLINT_VERSION=$(node -p "require('./package-lock.json').packages['node_modules/eslint'].version") npm i --no-save eslint@$ESLINT_VERSION From 111535843ada7327e80019a9ae84d8df72114802 Mon Sep 17 00:00:00 2001 From: "andrei.kharitonov" Date: Mon, 8 Sep 2025 13:44:41 +0200 Subject: [PATCH 7/7] Fix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d992afe9..1d4b0239 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: - run: npm ci --omit=peer - run: npm i --no-save "devextreme@${{ matrix.version }}" - - name: Instal devextreme-dist + - name: Install devextreme-dist if: ${{ matrix.version == '>=23.1.0' }} run: npm i --no-save "devextreme-dist@${{ matrix.version }}" - run: npm run dts