Skip to content

Commit

Permalink
Merge pull request #2 from Yleisradio/feature/production-deps-yarn2
Browse files Browse the repository at this point in the history
Yarn2: lataa vain depsut, ei dev-depsuja
  • Loading branch information
tjjalava authored Feb 17, 2022
2 parents 19ef9bb + 3a52886 commit b2673a3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion yarn-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,10 @@ runs:
yarn --frozen-lockfile --ignore-scripts
fi
else
yarn --immutable
if [ ${{ inputs.dependencies }} == "production" ]; then
yarn plugin import workspace-tools
yarn workspaces focus -A --production
else
yarn --immutable
fi
fi

0 comments on commit b2673a3

Please sign in to comment.