Skip to content

Merge pull request #24 from kartikver15gr8/feat/rate-limit #27

Merge pull request #24 from kartikver15gr8/feat/rate-limit

Merge pull request #24 from kartikver15gr8/feat/rate-limit #27

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }}
NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }}
steps:
- uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 9.14.2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Generate Prisma client
run: pnpm run postinstall
- name: Lint
run: pnpm lint
- name: Build Next.js app
run: pnpm build