Skip to content

.3493622109966576:42b3416d34913640f02c2407dadadd27_69e775f9cfb5760a55e455d9.69e77dfecfb5760a55e457ab.69e77dfe88b3977082494182:Trae CN.T(2026/4/21 21:39:10) #230

.3493622109966576:42b3416d34913640f02c2407dadadd27_69e775f9cfb5760a55e455d9.69e77dfecfb5760a55e457ab.69e77dfe88b3977082494182:Trae CN.T(2026/4/21 21:39:10)

.3493622109966576:42b3416d34913640f02c2407dadadd27_69e775f9cfb5760a55e455d9.69e77dfecfb5760a55e457ab.69e77dfe88b3977082494182:Trae CN.T(2026/4/21 21:39:10) #230

Workflow file for this run

name: Verify Pull Request
on:
pull_request:
branches: [ "main" ]
jobs:
cache-and-install:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: "24.10.0"
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10.20.0
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v5
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Restore Turbo and Next.js cache
uses: actions/cache@v5
with:
path: |
.turbo
apps/www/.next/cache
key: ${{ runner.os }}-turbo-next-${{ hashFiles('pnpm-lock.yaml', 'turbo.json') }}-${{ hashFiles('apps/www/**.[jt]s', 'apps/www/**.[jt]sx', 'packages/**.[jt]s', 'packages/**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-turbo-next-${{ hashFiles('pnpm-lock.yaml', 'turbo.json') }}-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm turbo run lint
- name: Build
run: pnpm turbo run build