Skip to content

Commit 1fa6622

Browse files
authored
build: do not use --force flag to install dependencies (#18284)
1 parent 5c35321 commit 1fa6622

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version: "lts/*"
2020
- name: Install Packages
21-
run: npm install --force
21+
run: npm install
2222

2323
- name: Install Docs Packages
2424
working-directory: docs
@@ -60,7 +60,7 @@ jobs:
6060
with:
6161
node-version: ${{ matrix.node }}
6262
- name: Install Packages
63-
run: npm install --force
63+
run: npm install
6464
- name: Test
6565
run: node Makefile mocha
6666
- name: Fuzz Test
@@ -75,7 +75,7 @@ jobs:
7575
with:
7676
node-version: "20" # Should be the same as the version used on Netlify to build the ESLint Playground
7777
- name: Install Packages
78-
run: npm install --force
78+
run: npm install
7979
- name: Test
8080
run: node Makefile wdio
8181
- name: Fuzz Test

.github/workflows/docs-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: npm install
2929

3030
- name: Install Packages
31-
run: npm install --force
31+
run: npm install
3232

3333
- name: Stylelint Docs
3434
working-directory: docs

.github/workflows/update-readme.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/setup-node@v4
1818

1919
- name: Install npm packages
20-
run: npm install --force
20+
run: npm install
2121

2222
- name: Update README with latest team and sponsor data
2323
run: npm run build:readme

docs/netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build]
2-
command = "cd .. && npm install -f && cd ./docs && npm run build"
2+
command = "cd .. && npm install && cd ./docs && npm run build"

0 commit comments

Comments
 (0)