Skip to content
Open
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
37 changes: 22 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,32 +32,39 @@ 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: 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
- name: Install deps
run: npm ci

- name: Lint
run: npm run eslint

test-js:
runs-on: ubuntu-latest

strategy:
matrix:
version:
- '~18.1.0'
- '~22.2.0'
- '>=23.1.0'
- '18.1'
- '22.2'
- 'latest'

steps:
- uses: actions/checkout@v4

- run: node build/make-nojquery
- name: Checkout sources
uses: actions/checkout@v4

- name: Build no-jquery package
run: node build/make-nojquery

- name: Move lockfile
if: ${{ matrix.version != 'latest' }}
shell: bash
run: |
cp -f js-test/${{ matrix.version }}/package.json package.json
cp -f js-test/${{ matrix.version }}/package-lock.json package-lock.json

- run: npm ci

- run: npm ci --omit=peer
- run: npm i --no-save "devextreme@${{ matrix.version }}"
- name: Install devextreme-dist
if: ${{ matrix.version == '>=23.1.0' }}
run: npm i --no-save "devextreme-dist@${{ matrix.version }}"
- run: npm run dts
- run: npm run karma
- run: npm run karma-bundled
Expand Down
Loading
Loading