name: Format (Check) on: workflow_call: # Make this a reusable workflow, no value needed # https://docs.github.com/en/actions/using-workflows/reusing-workflows jobs: format: name: Check runs-on: 'ubuntu-latest' steps: - name: 📥 Checkout Code uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: 📦 Install pnpm uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0 - name: 🟢 Use Node uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: '24' cache: 'pnpm' - name: 📦 Install Dependencies run: pnpm install shell: bash - name: 🔍 Prettier Check run: pnpm run prettier.dry-run shell: bash