Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/run-qunit-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ runs:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules

- name: Run npm install
- name: Run npm ci
shell: bash
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund

- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
dotnet-version: 6.0.x

- name: Install dependencies
run: npm install
run: npm ci

- name: Build npm packages
run: npm run all:build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/default_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules

- name: Run npm install
- name: Run npm ci
run: npm ci --no-audit --no-fund

- name: Run targets
run: >
npx nx run-many
npx --no-install nx run-many
-t test
--exclude
devextreme
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/demos_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules

- name: Run npm install
run: npm install --no-audit --no-fund
- name: Run npm ci
run: npm ci --no-audit --no-fund

- name: Run unit tests
working-directory: apps/demos
run: npx nx test
run: npx --no-install nx test
10 changes: 5 additions & 5 deletions .github/workflows/demos_visual_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ jobs:
restore-keys: ${{ runner.os }}-node-modules

- name: DevExtreme - Install packages
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund

- name: DevExtreme - Build
shell: bash
run: |
node ./tools/scripts/performance_log.js &
npx nx build devextreme-main
npx --no-install nx build devextreme-main

testcafe:
needs: [check-should-run, build]
Expand Down Expand Up @@ -96,12 +96,12 @@ jobs:
restore-keys: ${{ runner.os }}-node-modules

- name: DevExtreme - Install packages
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund

- name: DevExtreme - Build
env:
BUILD_TEST_INTERNAL_PACKAGE: true
run: npx nx build devextreme-main
run: npx --no-install nx build devextreme-main

- name: Run Web Server
run: |
Expand All @@ -128,7 +128,7 @@ jobs:
CI_ENV: true # The `ignore` field in the visualtestrc.json should be disabled when running test locally
run: |
node ../../tools/scripts/performance_log.js &
npx nx test-testcafe
npx --no-install nx test-testcafe

- name: Show accessibility warnings
if: matrix.STRATEGY == 'accessibility'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/demos_visual_tests_frameworks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
restore-keys: ${{ runner.os }}-node-modules

- name: DevExtreme - Install packages
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund

- name: DevExtreme - Build-all
env:
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:

- name: Prepare bundles
working-directory: apps/demos
run: npx nx prepare-bundles
run: npx --no-install nx prepare-bundles

- name: Demos - Run tsc
working-directory: apps/demos
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
matrix:
include:
- name: Lint code base (excluding demos)
command: npx nx lint-non-demos
command: npx --no-install nx lint-non-demos
# NOTE: skipped due to enormous number of errors
# - name: Lint demos (1/4)
# command: CONSTEL=1/4 npm run lint-demos
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:
name: devextreme-sources

- name: Install packages
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund

# NOTE: workaround due to wrappers are incorrect NPM packages now
- name: Install wrappers packages
Expand Down Expand Up @@ -334,7 +334,7 @@ jobs:
name: devextreme-sources

- name: Install packages
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund

# NOTE: workaround due to wrappers are incorrect NPM packages now
- name: Install wrappers packages
Expand Down Expand Up @@ -400,7 +400,7 @@ jobs:
CI_ENV: true # The `ignore` field in the visualtestrc.json should be disabled when running test locally
run: |
node ../../tools/scripts/performance_log.js &
npx nx test-testcafe
npx --no-install nx test-testcafe

- name: Sanitize job name
if: ${{ failure() }}
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ jobs:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules

- name: Run npm install
run: npm install --no-audit --no-fund
- name: Run npm ci
run: npm ci --no-audit --no-fund

- name: Compile renovation
working-directory: ./packages/devextreme
run: |
npx nx compile:r
npx --no-install nx compile:r
# Remove package install after upgrade to TypeScript >= 4.6

- name: Lint renovation
working-directory: ./packages/devextreme
run: npx nx lint-renovation
run: npx --no-install nx lint-renovation

TS:
runs-on: devextreme-shr2
Expand All @@ -65,30 +65,30 @@ jobs:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules

- name: Run npm install
run: npm install --no-audit --no-fund
- name: Run npm ci
run: npm ci --no-audit --no-fund

- name: Build
working-directory: ./packages/devextreme
run: npx nx build
run: npx --no-install nx build

- name: Lint TS
working-directory: ./packages/devextreme
env:
DEBUG: eslint:cli-engine
run: npx nx lint-ts
run: npx --no-install nx lint-ts

- name: Lint .d.ts
working-directory: ./packages/devextreme
env:
DEBUG: eslint:cli-engine
run: npx nx lint-dts
run: npx --no-install nx lint-dts

- name: Lint Testcafe tests
working-directory: ./e2e/testcafe-devextreme
env:
DEBUG: eslint:cli-engine
run: npx nx lint
run: npx --no-install nx lint

JS:
runs-on: devextreme-shr2
Expand All @@ -109,18 +109,18 @@ jobs:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules

- name: Run npm install
run: npm install --no-audit --no-fund
- name: Run npm ci
run: npm ci --no-audit --no-fund

- name: Build
working-directory: ./packages/devextreme
run: npx nx build
run: npx --no-install nx build

- name: Lint JS
working-directory: ./packages/devextreme
env:
DEBUG: eslint:cli-engine
run: npx nx lint-js
run: npx --no-install nx lint-js

texts:
runs-on: devextreme-shr2
Expand All @@ -141,12 +141,12 @@ jobs:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules

- name: Run npm install
run: npm install --no-audit --no-fund
- name: Run npm ci
run: npm ci --no-audit --no-fund

- name: Check texts
working-directory: ./packages/devextreme
run: npx nx lint-texts
run: npx --no-install nx lint-texts

CSS:
runs-on: devextreme-shr2
Expand All @@ -167,12 +167,12 @@ jobs:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules

- name: Run npm install
run: npm install --no-audit --no-fund
- name: Run npm ci
run: npm ci --no-audit --no-fund

- name: Lint CSS
working-directory: ./packages/devextreme-scss
run: npx nx lint
run: npx --no-install nx lint

package_lock:
runs-on: devextreme-shr2
Expand All @@ -190,7 +190,7 @@ jobs:
run: |
node -v
npm -v
npm install --no-audit --no-fund --ignore-scripts
npm ci --no-audit --no-fund --ignore-scripts

- name: Upload package-lock
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
run: |
node -v
npm -v
npm install --no-audit --no-fund --ignore-scripts
npm ci --no-audit --no-fund --ignore-scripts

- name: Check generated component reexports
working-directory: ./packages/devextreme
Expand Down Expand Up @@ -262,10 +262,10 @@ jobs:
restore-keys: ${{ runner.os }}-node-modules

- name: Install dependencies
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund

- name: Lint wrappers
run: npx nx run-many -t lint -p devextreme-angular devextreme-react devextreme-vue
run: npx --no-install nx run-many -t lint -p devextreme-angular devextreme-react devextreme-vue

notify:
runs-on: devextreme-shr2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packages_publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
dotnet-version: 6.0.x

- name: Install dependencies
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund

- name: Set timestamp version
if: ${{ env.SET_TIMESTAMP_VERSION == 'true' }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/playgrounds_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules

- name: Run npm install
run: npm install --no-audit --no-fund
- name: Run npm ci
run: npm ci --no-audit --no-fund

- name: Build
working-directory: ./packages/devextreme
run: npx nx build
run: npx --no-install nx build

- name: Zip artifacts
working-directory: ./packages/devextreme
Expand Down Expand Up @@ -91,8 +91,8 @@ jobs:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules

- name: Run npm install
run: npm install --no-audit --no-fund
- name: Run npm ci
run: npm ci --no-audit --no-fund

- name: Download artifacts
uses: actions/download-artifact@v4
Expand All @@ -110,7 +110,7 @@ jobs:

- name: Check sources compilation
working-directory: ./apps/${{ matrix.ARGS.platform }}
run: npx nx build
run: npx --no-install nx build

# - name: Run test
# if: ${{ matrix.ARGS.platform != 'angular' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
restore-keys: ${{ runner.os }}-node-modules

- name: DevExtreme - Install packages
run: npm install --no-audit --no-fund
run: npm ci --no-audit --no-fund

- name: DevExtreme - Build-all
env:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
node-version: '20'

- name: Install Dependencies
run: npm install
run: npm ci

- name: Download devextreme sources
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
node-version: 18

- name: Install Dependencies
run: npm install
run: npm ci

- name: Download devextreme sources
uses: actions/download-artifact@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/qunit_tests-additional-renovation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules

- name: Run npm install
run: npm install --no-audit --no-fund
- name: Run npm ci
run: npm ci --no-audit --no-fund

- name: Build
env:
Expand All @@ -60,8 +60,8 @@ jobs:
working-directory: ./packages/devextreme
run: |
node ../../tools/scripts/performance_log.js &
npx nx build:dev
npx nx build:systemjs
npx --no-install nx build:dev
npx --no-install nx build:systemjs

- name: Zip artifacts
working-directory: ./packages/devextreme
Expand Down
Loading
Loading