aboutsummaryrefslogtreecommitdiffstats
path: root/tooling/github/setup/action.yml
blob: 8dfa3900b992b54a284085bd0b51a0f36b04b516 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: "Setup and install"
description: "Common setup steps for Actions"

runs:
  using: composite
  steps:
    - uses: pnpm/action-setup@v2
    - uses: actions/setup-node@v4
      with:
        node-version: 24
        cache: "pnpm"
        registry-url: https://registry.npmjs.org

    - shell: bash
      run: pnpm add -g turbo

    - shell: bash
      run: npm install -g corepack@0.31.0 && corepack enable

    - shell: bash
      run: pnpm install
      env:
        PUPPETEER_SKIP_DOWNLOAD: "true"
        PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "true"