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..1d4b0239 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,10 @@ 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 + - name: Install 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 test-js: @@ -50,9 +53,9 @@ 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 + - name: Install devextreme-dist if: ${{ matrix.version == '>=23.1.0' }} run: npm i --no-save "devextreme-dist@${{ matrix.version }}" - run: npm run dts