Skip to content

Commit 7badb4e

Browse files
committed
feat: add frozen-lockfile flag + update pnpm init action
- remove debug script from CI
1 parent a418238 commit 7badb4e

23 files changed

+84
-185
lines changed

.github/actions/run-qunit-tests/action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ runs:
9393
rm -rf artifacts/npm
9494
7z x artifacts.zip
9595
96-
- uses: pnpm/action-setup@v3
96+
- uses: pnpm/action-setup@v4
9797
with:
98-
version: 9
9998
run_install: false
10099

101100
- name: Get pnpm store directory
@@ -115,7 +114,7 @@ runs:
115114
116115
- name: Install dependencies
117116
shell: bash
118-
run: pnpm install
117+
run: pnpm install --frozen-lockfile
119118

120119
- name: Build dotnet
121120
working-directory: ./packages/devextreme
@@ -141,7 +140,6 @@ runs:
141140
DISPLAY: ":99"
142141
CHROME_CMD: ${{ env.CHROME_SHELL }}
143142
run: |
144-
node ../../tools/scripts/performance_log.js &
145143
chmod +x ./docker-ci.sh
146144
./docker-ci.sh
147145

.github/workflows/build_all.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ jobs:
2525
with:
2626
dotnet-version: 6.0.x
2727

28-
- uses: pnpm/action-setup@v3
28+
- uses: pnpm/action-setup@v4
2929
with:
30-
version: 9
3130
run_install: false
3231

3332
- name: Get pnpm store directory
@@ -46,7 +45,7 @@ jobs:
4645
${{ runner.os }}-pnpm-store
4746
4847
- name: Install dependencies
49-
run: pnpm install
48+
run: pnpm install --frozen-lockfile
5049

5150
- name: Build npm packages
5251
run: pnpm run all:build

.github/workflows/codeql.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ jobs:
2121
with:
2222
node-version: '20'
2323

24-
- uses: pnpm/action-setup@v3
24+
- uses: pnpm/action-setup@v4
2525
with:
26-
version: 9
2726
run_install: false
2827

2928
- name: Get pnpm store directory
@@ -42,7 +41,7 @@ jobs:
4241
${{ runner.os }}-pnpm-store
4342
4443
- name: Install dependencies
45-
run: pnpm install
44+
run: pnpm install --frozen-lockfile
4645

4746
# - name: Build npm packages
4847
# run: pnpm run all:build

.github/workflows/default_workflow.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ jobs:
3030
with:
3131
node-version: '20'
3232

33-
- uses: pnpm/action-setup@v3
33+
- uses: pnpm/action-setup@v4
3434
with:
35-
version: 9
3635
run_install: false
3736

3837
- name: Get pnpm store directory
@@ -51,7 +50,7 @@ jobs:
5150
${{ runner.os }}-pnpm-store
5251
5352
- name: Install dependencies
54-
run: pnpm install
53+
run: pnpm install --frozen-lockfile
5554

5655
- name: Run targets
5756
run: >

.github/workflows/demos_unit_tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ jobs:
2828
with:
2929
node-version: '20'
3030

31-
- uses: pnpm/action-setup@v3
31+
- uses: pnpm/action-setup@v4
3232
with:
33-
version: 9
3433
run_install: false
3534

3635
- name: Get pnpm store directory
@@ -49,7 +48,7 @@ jobs:
4948
${{ runner.os }}-pnpm-store
5049
5150
- name: Install dependencies
52-
run: pnpm install
51+
run: pnpm install --frozen-lockfile
5352

5453
- name: Run unit tests
5554
working-directory: apps/demos

.github/workflows/demos_visual_tests.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ jobs:
3333
with:
3434
node-version: '20'
3535

36-
- uses: pnpm/action-setup@v3
36+
- uses: pnpm/action-setup@v4
3737
with:
38-
version: 9
3938
run_install: false
4039

4140
- name: Get pnpm store directory
@@ -54,13 +53,11 @@ jobs:
5453
${{ runner.os }}-pnpm-store
5554
5655
- name: Install dependencies
57-
run: pnpm install
56+
run: pnpm install --frozen-lockfile
5857

5958
- name: DevExtreme - Build
6059
shell: bash
61-
run: |
62-
node ./tools/scripts/performance_log.js &
63-
pnpx nx build devextreme
60+
run: pnpx nx build devextreme
6461

6562
testcafe:
6663
needs:
@@ -92,9 +89,8 @@ jobs:
9289
with:
9390
node-version: '20'
9491

95-
- uses: pnpm/action-setup@v3
92+
- uses: pnpm/action-setup@v4
9693
with:
97-
version: 9
9894
run_install: false
9995

10096
- name: Get pnpm store directory
@@ -113,7 +109,7 @@ jobs:
113109
${{ runner.os }}-pnpm-store
114110
115111
- name: Install dependencies
116-
run: pnpm install
112+
run: pnpm install --frozen-lockfile
117113

118114
- name: DevExtreme - Build
119115
run: pnpx nx build devextreme
@@ -141,9 +137,7 @@ jobs:
141137
# DISABLE_DEMO_TEST_SETTINGS: ignore # Uncomment to ignore the `ignore` field
142138
# DISABLE_DEMO_TEST_SETTINGS: comparison-options # Uncomment to ignore the `comparison-options` field
143139
CI_ENV: true # The `ignore` field in the visualtestrc.json should be disabled when running test locally
144-
run: |
145-
node ../../tools/scripts/performance_log.js &
146-
pnpx nx test-testcafe
140+
run: pnpx nx test-testcafe
147141

148142
- name: Show accessibility warnings
149143
if: matrix.STRATEGY == 'accessibility'

.github/workflows/demos_visual_tests_frameworks.yml

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ jobs:
3333
with:
3434
node-version: '20'
3535

36-
- uses: pnpm/action-setup@v3
36+
- uses: pnpm/action-setup@v4
3737
with:
38-
version: 9
3938
run_install: false
4039

4140
- name: Get pnpm store directory
@@ -54,7 +53,7 @@ jobs:
5453
${{ runner.os }}-pnpm-store
5554
5655
- name: Install dependencies
57-
run: pnpm install
56+
run: pnpm install --frozen-lockfile
5857

5958
- name: DevExtreme - Build-all
6059
env:
@@ -102,9 +101,8 @@ jobs:
102101
with:
103102
name: devextreme-sources
104103

105-
- uses: pnpm/action-setup@v3
104+
- uses: pnpm/action-setup@v4
106105
with:
107-
version: 9
108106
run_install: false
109107

110108
- name: Get pnpm store directory
@@ -123,7 +121,7 @@ jobs:
123121
${{ runner.os }}-pnpm-store
124122
125123
- name: Install dependencies
126-
run: pnpm install
124+
run: pnpm install --frozen-lockfile
127125

128126
- name: Install tgz
129127
working-directory: apps/demos
@@ -195,9 +193,8 @@ jobs:
195193
with:
196194
node-version: '20'
197195

198-
- uses: pnpm/action-setup@v3
196+
- uses: pnpm/action-setup@v4
199197
with:
200-
version: 9
201198
run_install: false
202199

203200
- name: Get pnpm store directory
@@ -216,7 +213,7 @@ jobs:
216213
${{ runner.os }}-pnpm-store
217214
218215
- name: Install dependencies
219-
run: pnpm install
216+
run: pnpm install --frozen-lockfile
220217

221218
- name: Install tgz
222219
run: pnpm add -w ./devextreme-installer.tgz ./devextreme-dist-installer.tgz ./devextreme-react-installer.tgz ./devextreme-vue-installer.tgz ./devextreme-angular-installer.tgz
@@ -263,9 +260,8 @@ jobs:
263260
with:
264261
node-version: '20'
265262

266-
- uses: pnpm/action-setup@v3
263+
- uses: pnpm/action-setup@v4
267264
with:
268-
version: 9
269265
run_install: false
270266

271267
- name: Get pnpm store directory
@@ -284,7 +280,7 @@ jobs:
284280
${{ runner.os }}-pnpm-store
285281
286282
- name: Install dependencies
287-
run: pnpm install
283+
run: pnpm install --frozen-lockfile
288284

289285
- name: Install tgz
290286
run: pnpm add -w ./devextreme-installer.tgz ./devextreme-dist-installer.tgz ./devextreme-react-installer.tgz ./devextreme-vue-installer.tgz ./devextreme-angular-installer.tgz
@@ -330,9 +326,8 @@ jobs:
330326
- name: Get sources
331327
uses: actions/checkout@v4
332328

333-
- uses: pnpm/action-setup@v3
329+
- uses: pnpm/action-setup@v4
334330
with:
335-
version: 9
336331
run_install: false
337332

338333
- name: Use Node.js
@@ -425,9 +420,8 @@ jobs:
425420
name: changed-demos
426421
path: apps/demos
427422

428-
- uses: pnpm/action-setup@v3
423+
- uses: pnpm/action-setup@v4
429424
with:
430-
version: 9
431425
run_install: false
432426

433427
- name: Get pnpm store directory
@@ -446,7 +440,7 @@ jobs:
446440
${{ runner.os }}-pnpm-store
447441
448442
- name: Install dependencies
449-
run: pnpm install
443+
run: pnpm install --frozen-lockfile
450444

451445
- name: Install tgz
452446
working-directory: apps/demos
@@ -494,9 +488,7 @@ jobs:
494488
# DISABLE_DEMO_TEST_SETTINGS: ignore # Uncomment to ignore the `ignore` field
495489
# DISABLE_DEMO_TEST_SETTINGS: comparison-options # Uncomment to ignore the `comparison-options` field
496490
CI_ENV: true # The `ignore` field in the visualtestrc.json should be disabled when running test locally
497-
run: |
498-
node ../../tools/scripts/performance_log.js &
499-
pnpx nx test-testcafe
491+
run: pnpx nx test-testcafe
500492

501493
- name: Sanitize job name
502494
if: ${{ failure() }}

.github/workflows/lint.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ jobs:
2828
with:
2929
node-version: '20'
3030

31-
- uses: pnpm/action-setup@v3
31+
- uses: pnpm/action-setup@v4
3232
with:
33-
version: 9
3433
run_install: false
3534

3635
- name: Get pnpm store directory
@@ -49,7 +48,7 @@ jobs:
4948
${{ runner.os }}-pnpm-store
5049
5150
- name: Install dependencies
52-
run: pnpm install
51+
run: pnpm install --frozen-lockfile
5352

5453
- name: Build
5554
working-directory: ./packages/devextreme
@@ -85,9 +84,8 @@ jobs:
8584
with:
8685
node-version: '20'
8786

88-
- uses: pnpm/action-setup@v3
87+
- uses: pnpm/action-setup@v4
8988
with:
90-
version: 9
9189
run_install: false
9290

9391
- name: Get pnpm store directory
@@ -106,7 +104,7 @@ jobs:
106104
${{ runner.os }}-pnpm-store
107105
108106
- name: Install dependencies
109-
run: pnpm install
107+
run: pnpm install --frozen-lockfile
110108

111109
- name: Build
112110
working-directory: ./packages/devextreme
@@ -130,9 +128,8 @@ jobs:
130128
with:
131129
node-version: '20'
132130

133-
- uses: pnpm/action-setup@v3
131+
- uses: pnpm/action-setup@v4
134132
with:
135-
version: 9
136133
run_install: false
137134

138135
- name: Get pnpm store directory
@@ -151,7 +148,7 @@ jobs:
151148
${{ runner.os }}-pnpm-store
152149
153150
- name: Install dependencies
154-
run: pnpm install
151+
run: pnpm install --frozen-lockfile
155152

156153
- name: Check texts
157154
working-directory: ./packages/devextreme
@@ -169,9 +166,8 @@ jobs:
169166
with:
170167
node-version: '20'
171168

172-
- uses: pnpm/action-setup@v3
169+
- uses: pnpm/action-setup@v4
173170
with:
174-
version: 9
175171
run_install: false
176172

177173
- name: Get pnpm store directory
@@ -190,7 +186,7 @@ jobs:
190186
${{ runner.os }}-pnpm-store
191187
192188
- name: Install dependencies
193-
run: pnpm install
189+
run: pnpm install --frozen-lockfile
194190

195191
- name: Lint CSS
196192
working-directory: ./packages/devextreme-scss
@@ -208,9 +204,8 @@ jobs:
208204
with:
209205
node-version: '20'
210206

211-
- uses: pnpm/action-setup@v3
207+
- uses: pnpm/action-setup@v4
212208
with:
213-
version: 9
214209
run_install: false
215210

216211
- name: Get pnpm store directory

0 commit comments

Comments
 (0)