Skip to content

Merge pull request #74 from quantum-brackets/sentry-setup #171

Merge pull request #74 from quantum-brackets/sentry-setup

Merge pull request #74 from quantum-brackets/sentry-setup #171

Workflow file for this run

name: CI for Staging
on:
push:
branches:
- staging
pull_request:
branches:
- staging
jobs:
ci:
runs-on: ubuntu-latest
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }}
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: yarn install
- name: Run lint-staged
run: yarn lint-staged
- name: Build project
run: yarn build
- name: Mirgate DB
run: yarn migrate