Skip to content

feat: preview deployment #2

feat: preview deployment

feat: preview deployment #2

Workflow file for this run

name: Continuous Integration
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- ".github/workflows/ci.yml"
- "src/**"
- "package.json"
- "pnpm-lock.yaml"
- "next.config.ts"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
base:
name: Continuous Integration
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Install Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build