name: Install Yarn dependencies
description: Installs the workspace's yarn dependencies and caches them

runs:
  using: composite
  steps:
    - uses: actions/setup-node@v4
      id: node
      with:
        node-version: 18.19.0
        cache: 'yarn'
        cache-dependency-path: 'yarn.lock'
    
    - name: Install
      run: yarn --immutable
      shell: bash
