Skip to content

Commit 1fef885

Browse files
committed
refactor: use npm ci, timeout flag is invalid for npm
1 parent 91db503 commit 1fef885

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/actions/npmInstallWithRetries/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ inputs:
77
runs:
88
using: composite
99
steps:
10-
- name: npm install
10+
- name: timeout config
11+
run: npm config set timeout 600000
12+
shell: bash
13+
- name: npm ci
1114
uses: salesforcecli/github-workflows/.github/actions/retry@main
1215
with:
13-
command: npm install --timeout 600000 ${{ inputs.ignore-scripts == 'true' && '--ignore-scripts' || '' }}
16+
command: npm ci --no-audit --no-fund ${{ inputs.ignore-scripts == 'true' && '--ignore-scripts' || '' }}

0 commit comments

Comments
 (0)