feat(FN-4100): refactor ci workflows to use reusable setup-node-pnpm compos

Refactors GitHub Actions workflow setup into a reusable composite action, consolidating repeated setup logic across CI, mobile, release, test-release, and version workflows (176 lines removed). Adds corresponding tests for the workflow configuration.

Fusion-Task-Id: FN-4100
This commit is contained in:
Fusion
2026-05-12 14:17:47 -07:00
committed by gsxdsm
parent 1a11369832
commit d518bcf516
8 changed files with 57 additions and 176 deletions

View File

@@ -20,22 +20,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node and pnpm
uses: ./.github/actions/setup-node-pnpm
with:
node-version: "24"
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
node-version: "24"
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: "24"
cache: pnpm
registry-url: "https://registry.npmjs.org"
skip-install: "true"
- name: Ensure modern npm (OIDC support)
run: npm install -g npm@11.6.4