Skip to content

Commit

Permalink
Merge pull request #66 from Chili-Piper/CPP-0-optional-install-yarn-v3
Browse files Browse the repository at this point in the history
CPP-0-optional-install-yarn-v3
  • Loading branch information
marocula authored Oct 22, 2024
2 parents b20202f + 1d0d5b8 commit 681ba9d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ inputs:
description: "Run yarn with --production=false flag"
required: false
default: "false"
full_with_optional_install_v3:
description: "Run yarn with --mode=development flag"
required: false
default: "false"
full_install:
description: "Run yarn with --ignore-optional --production=false flags"
required: false
Expand Down Expand Up @@ -87,6 +91,11 @@ runs:
run: yarn --immutable --production=false
shell: bash

- name: Install dependencies FULL WITH OPTIONAL INSTALL - Yarn v3
if: (inputs.cache == 'false' || steps.node-modules-cache.outputs.cache-hit != 'true') && inputs.full_with_optional_install_v3 == 'true'
run: yarn --immutable --mode=development
shell: bash

- name: Install dependencies FULL
if: (inputs.cache == 'false' || steps.node-modules-cache.outputs.cache-hit != 'true') && inputs.full_install == 'true'
run: yarn --immutable --ignore-optional --production=false
Expand Down

0 comments on commit 681ba9d

Please sign in to comment.