/ .github / workflows / check.yml
check.yml
 1  name: check
 2  
 3  on:
 4    push:
 5    workflow_dispatch:
 6  
 7  concurrency:
 8    group: ${{ github.workflow }}-${{ github.ref }}
 9    cancel-in-progress: true
10  
11  jobs:
12    check:
13      runs-on: ubuntu-latest
14      timeout-minutes: 10
15  
16      steps:
17        - name: Checkout code
18          uses: actions/checkout@v4
19  
20        - name: Enable Corepack
21          run: corepack enable
22  
23        - name: Setup Node.js
24          uses: actions/setup-node@v4
25          with:
26            node-version: "24.13.0"
27            cache: "pnpm"
28  
29        - name: Install dependencies
30          run: pnpm install --frozen-lockfile
31  
32        - name: Run checks
33          run: pnpm run check