Skip to content

Commit f73c88b

Browse files
committed
ci: replace npm ci with npm install in workflows
Switch from npm ci to npm install to ensure compatibility with the current package-lock.json and avoid potential installation failures due to version mismatches.
1 parent 45f2128 commit f73c88b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/desktop-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
cache: npm
2121

2222
- name: Install dependencies
23-
run: npm ci
23+
run: npm install
2424

2525
- name: Build Next.js
2626
run: npm run build
@@ -50,7 +50,7 @@ jobs:
5050
cache: npm
5151

5252
- name: Install dependencies
53-
run: npm ci
53+
run: npm install
5454

5555
- name: Build Next.js
5656
run: npm run build
@@ -80,7 +80,7 @@ jobs:
8080
cache: npm
8181

8282
- name: Install dependencies
83-
run: npm ci
83+
run: npm install
8484

8585
- name: Build Next.js
8686
run: npm run build

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
cache: 'npm'
1919
cache-dependency-path: package-lock.json
2020
- name: Install dependencies
21-
run: npm ci
21+
run: npm install
2222
- name: Run tests
2323
run: npm run test
2424
- name: Run coverage
@@ -41,7 +41,7 @@ jobs:
4141
cache: 'npm'
4242
cache-dependency-path: package-lock.json
4343
- name: Install dependencies
44-
run: npm ci
44+
run: npm install
4545
- name: Install Playwright browsers
4646
run: npx playwright install --with-deps chromium
4747
- name: Build
@@ -66,6 +66,6 @@ jobs:
6666
cache: 'npm'
6767
cache-dependency-path: package-lock.json
6868
- name: Install dependencies
69-
run: npm ci
69+
run: npm install
7070
- name: Run benchmarks
7171
run: npm run test:bench

0 commit comments

Comments
 (0)