Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 0 additions & 4 deletions .github/actions/setup-chrome-headless-shell/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ runs:
CHROME_VERSION: ${{ inputs.chrome-version }}
run: |
if [ -n "$CHROME_VERSION" ]; then
sudo apt-get update
sudo apt-get -y install libu2f-udev
sudo apt-get -y install dbus

echo "version to install: $CHROME_VERSION"
CHROME_BIN=`npx @puppeteer/browsers install chrome-headless-shell@$CHROME_VERSION | awk '{print $2}'`
chmod +x $CHROME_BIN
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
14 changes: 7 additions & 7 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 All @@ -358,7 +358,7 @@ jobs:

- name: Update bundles config
working-directory: apps/demos
run: npx gulp update-config
run: npx --no-install gulp update-config

- name: Run Web Server
run: |
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
6 changes: 3 additions & 3 deletions .github/workflows/packages_publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ 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' }}
run: npx ts-node tools/scripts/set-timestamp-version
run: npx --no-install ts-node tools/scripts/set-timestamp-version

- name: Build npm packages
env:
Expand All @@ -72,7 +72,7 @@ jobs:
cp reportGithub.json ./artifacts/deps-scanner/

- name: Build artifacts package
run: npx ts-node tools/scripts/make-artifacts-package
run: npx -no-install ts-node tools/scripts/make-artifacts-package

- uses: actions/upload-artifact@v4
with:
Expand Down
22 changes: 6 additions & 16 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 @@ -74,11 +74,6 @@ jobs:
- name: Get sources
uses: actions/checkout@v4

- name: Setup Chrome
uses: ./.github/actions/setup-chrome
with:
chrome-version: '133.0.6943.53'

- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -91,8 +86,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,9 +105,4 @@ jobs:

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

# - name: Run test
# if: ${{ matrix.ARGS.platform != 'angular' }}
# working-directory: ./apps/${{ matrix.ARGS.platform }}
# run: npm run test
run: npx --no-install nx build
Loading
Loading