Skip to content

Commit 85d6787

Browse files
committed
install flags
1 parent da8dd9a commit 85d6787

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

actions/setup-environment/action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ inputs:
55
description: 'Whether to use pnpm (true) or npm (false)'
66
required: false
77
default: 'false'
8+
install-flags:
9+
description: 'Additional installation flags'
10+
required: false
11+
default: ''
812
ref:
913
description: 'The ref to checkout'
1014
required: false
@@ -58,9 +62,9 @@ runs:
5862
- name: Install dependencies with pnpm
5963
if: inputs.pnpm == 'true'
6064
shell: bash
61-
run: pnpm install --frozen-lockfile
65+
run: pnpm install --frozen-lockfile ${{ inputs.install-flags }}
6266

6367
- name: Install dependencies with npm
6468
if: inputs.pnpm != 'true'
6569
shell: bash
66-
run: npm ci
70+
run: npm ci ${{ inputs.install-flags }}

0 commit comments

Comments
 (0)