# 🔗 Links: # Source file: https://github.com/obytes/react-native-template-obytes/blob/master/.github/actions/setup-node-pnpm-install/action.yml # Composite actions docs: https://docs.github.com/en/actions/creating-actions/creating-a-composite-action # ✍️ Description: # This is a composite action, which means it can be used in other actions. # It is used in almost all workflows to set up the environment and install dependencies. # Updating the package manager or Node version here will be reflected in all workflows. # 👀 Example usage: # - name : 📦 Setup Node + PNPM + install deps # uses: ./.github/actions/setup-node-pnpm-install name: "Setup Node + PNPM + Install Dependencies" description: "Setup Node + PNPM + Install Dependencies" runs: using: "composite" steps: - uses: actions/checkout@main with: # fetch-depth: 0 # zero stands for full checkout, which is required for semantic-release filter: blob:none # we don't need all blobs, only the full tree show-progress: false - uses: pnpm/action-setup@v4 with: # version: latest run_install: false - uses: actions/setup-node@v4 with: node-version: lts/* # cache: 'pnpm' # - name: Check Node and PNPM versions # shell: bash # run: | # set -x # node --version # pnpm --version # pwd # ls -al # - name: 📦 Install Project Dependencies # run: pnpm install --frozen-lockfile # shell: bash