Skip to content

Commit 8f2fca5

Browse files
committed
Add lockfiles for old devextreme versions
1 parent b0e56e8 commit 8f2fca5

File tree

3 files changed

+17443
-10
lines changed

3 files changed

+17443
-10
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,25 @@ jobs:
4444
strategy:
4545
matrix:
4646
version:
47-
- '~18.1.0'
48-
- '~22.2.0'
49-
- '>=23.1.0'
47+
- '18.1'
48+
- '22.2'
49+
- 'latest'
5050

5151
steps:
52-
- uses: actions/checkout@v4
5352

54-
- run: node build/make-nojquery
53+
- name: Checkout sources
54+
uses: actions/checkout@v4
55+
56+
- name: Build no-jquery package
57+
run: node build/make-nojquery
58+
59+
- name: Move lockfile
60+
if: ${{ matrix.version != 'latest' }}
61+
shell: bash
62+
run: cp -f js-test/${{ matrix.version }}/package-lock.json package-lock.json
63+
64+
- run: npm ci
5565

56-
- run: npm ci --omit=peer
57-
- run: npm i --no-save "devextreme@${{ matrix.version }}"
58-
- name: Install devextreme-dist
59-
if: ${{ matrix.version == '>=23.1.0' }}
60-
run: npm i --no-save "devextreme-dist@${{ matrix.version }}"
6166
- run: npm run dts
6267
- run: npm run karma
6368
- run: npm run karma-bundled

0 commit comments

Comments
 (0)