Skip to content

Instantly share code, notes, and snippets.

@ethanniser
Created March 27, 2023 16:06
Show Gist options
  • Save ethanniser/3b2c479cacc32b26a01fbaf844beac31 to your computer and use it in GitHub Desktop.
Save ethanniser/3b2c479cacc32b26a01fbaf844beac31 to your computer and use it in GitHub Desktop.
typecheck/lint on github not on vercel
name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
# ... (make sure to add to the secrets settings page in github)
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install Dependencies
run: npm install
- name: Typecheck
run: npm run typecheck
- name: Lint
run: npm run lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment