Split prisma schema into separate files (#67) #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint & Type Check | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
env: | |
DATABASE_URL: "https://fake.com" | |
jobs: | |
lint-and-typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Create dummy env file | |
run: cp .env.example .env | |
- name: Install Dependencies | |
run: npm ci | |
- name: Typecheck | |
run: npm run typecheck | |
- name: Lint | |
run: npm run lint | |
env: | |
UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }} | |
UPSTASH_REDIS_REST_TOKEN: ${{ secrets.UPSTASH_REDIS_REST_TOKEN }} |