Skip to content

Commit

Permalink
build: do not use --force flag to install dependencies (#18284)
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime committed Apr 8, 2024
1 parent 5c35321 commit 1fa6622
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
node-version: "lts/*"
- name: Install Packages
run: npm install --force
run: npm install

- name: Install Docs Packages
working-directory: docs
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
- name: Install Packages
run: npm install --force
run: npm install
- name: Test
run: node Makefile mocha
- name: Fuzz Test
Expand All @@ -75,7 +75,7 @@ jobs:
with:
node-version: "20" # Should be the same as the version used on Netlify to build the ESLint Playground
- name: Install Packages
run: npm install --force
run: npm install
- name: Test
run: node Makefile wdio
- name: Fuzz Test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: npm install

- name: Install Packages
run: npm install --force
run: npm install

- name: Stylelint Docs
working-directory: docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/setup-node@v4

- name: Install npm packages
run: npm install --force
run: npm install

- name: Update README with latest team and sponsor data
run: npm run build:readme
Expand Down
2 changes: 1 addition & 1 deletion docs/netlify.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build]
command = "cd .. && npm install -f && cd ./docs && npm run build"
command = "cd .. && npm install && cd ./docs && npm run build"

0 comments on commit 1fa6622

Please sign in to comment.