aboutsummaryrefslogtreecommitdiffstats
path: root/tooling/github/setup/action.yml
blob: 71836219c80b015cd91c2c0b3335bc69f553d3c8 (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
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: 22
        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"