Skip to content

Commit

Permalink
Merge pull request #6 from Dafnik/feat/add-frozen-lockfile
Browse files Browse the repository at this point in the history
feat: add --frozen-lockfile to pnpm install command
  • Loading branch information
Dafnik authored Apr 11, 2023
2 parents 4ffd728 + e27d1f5 commit dc8f853
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ inputs:
install:
description: "Runs pnpm install"
required: false
default: false
default: 'false'
install-ignore-scripts:
description: "Runs pnpm install --ignore-scripts"
required: false
default: false
default: 'false'

runs:
using: "composite"
Expand Down Expand Up @@ -52,11 +52,11 @@ runs:
${{ runner.os }}-pnpm-store-
- name: Run pnpm install
if: "${{ inputs.install }}"
if: "${{ inputs.install == 'true' }}"
shell: bash
run: pnpm install
run: pnpm install --frozen-lockfile

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

0 comments on commit dc8f853

Please sign in to comment.