diff --git a/.github/workflows/cache-reaper.yml b/.github/workflows/cache-reaper.yml index 472e50cfca4..91ebb083e02 100644 --- a/.github/workflows/cache-reaper.yml +++ b/.github/workflows/cache-reaper.yml @@ -14,7 +14,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v4 - - name: Use Node.js 18 - uses: actions/setup-node@v4 + - name: Setup Node.js + uses: ./.github/actions/setup-node - name: Trim the cache run: node scripts/clean-gha-cache.js diff --git a/.github/workflows/danger-pr.yml b/.github/workflows/danger-pr.yml index 2db802350d9..74eb0ec2372 100644 --- a/.github/workflows/danger-pr.yml +++ b/.github/workflows/danger-pr.yml @@ -18,6 +18,8 @@ jobs: if: github.repository == 'facebook/react-native' steps: - uses: actions/checkout@v4 + - name: Setup Node.js + uses: ./.github/actions/setup-node - name: Run yarn install uses: ./.github/actions/yarn-install - name: Danger diff --git a/.github/workflows/monitor-new-issues.yml b/.github/workflows/monitor-new-issues.yml index f5ace495311..fc3d8ae2e4b 100644 --- a/.github/workflows/monitor-new-issues.yml +++ b/.github/workflows/monitor-new-issues.yml @@ -17,9 +17,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: '22' + uses: ./.github/actions/setup-node - name: Install dependencies uses: ./.github/actions/yarn-install - name: Extract next oncall diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index bd7b526c4ce..99797d317ba 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -196,6 +196,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Setup Node.js + uses: ./.github/actions/setup-node - name: Download App uses: actions/download-artifact@v4 with: