Skip to content

Merge pull request #25 from johnal95/main #14

Merge pull request #25 from johnal95/main

Merge pull request #25 from johnal95/main #14

Workflow file for this run

name: ✅ Validate
on:
push:
branches:
- main
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]
- name: ⬇️ Checkout repo
uses: actions/checkout@v2
- name: ⎔ Setup node
uses: actions/setup-node@v1
with:
node-version: 16
- name: 📥 Download deps
uses: bahmutov/npm-install@v1
- name: 🔼 Prisma
run: node ./scripts/setup
- name: ʦ TypeScript
run: npm run typecheck
- name: ⬣ Lint
run: npm run lint
- name: 🔩 Build
run: npm run build
env:
NODE_ENV: production