Skip to content

Commit dc8f853

Browse files
authored
Merge pull request #6 from Dafnik/feat/add-frozen-lockfile
feat: add --frozen-lockfile to pnpm install command
2 parents 4ffd728 + e27d1f5 commit dc8f853

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ inputs:
1717
install:
1818
description: "Runs pnpm install"
1919
required: false
20-
default: false
20+
default: 'false'
2121
install-ignore-scripts:
2222
description: "Runs pnpm install --ignore-scripts"
2323
required: false
24-
default: false
24+
default: 'false'
2525

2626
runs:
2727
using: "composite"
@@ -52,11 +52,11 @@ runs:
5252
${{ runner.os }}-pnpm-store-
5353
5454
- name: Run pnpm install
55-
if: "${{ inputs.install }}"
55+
if: "${{ inputs.install == 'true' }}"
5656
shell: bash
57-
run: pnpm install
57+
run: pnpm install --frozen-lockfile
5858

5959
- name: Run pnpm install --ignore-scripts
60-
if: "${{ inputs.install-ignore-scripts }}"
60+
if: "${{ inputs.install-ignore-scripts == 'true' }}"
6161
shell: bash
62-
run: pnpm install --ignore-scripts
62+
run: pnpm install --frozen-lockfile --ignore-scripts

0 commit comments

Comments
 (0)