Skip to content

Limit CI and deploy to exectx/t3-cloudflare #1

Limit CI and deploy to exectx/t3-cloudflare

Limit CI and deploy to exectx/t3-cloudflare #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
SKIP_ENV_VALIDATION: true
jobs:
lint:
name: Lint & Format
if: github.repository == 'exectx/t3-cloudflare'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm lint
typecheck:
name: Typecheck
if: github.repository == 'exectx/t3-cloudflare'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm typecheck
build:
name: Build
if: github.repository == 'exectx/t3-cloudflare'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm exec opennextjs-cloudflare build