Created
March 27, 2023 16:06
-
-
Save ethanniser/3b2c479cacc32b26a01fbaf844beac31 to your computer and use it in GitHub Desktop.
typecheck/lint on github not on vercel
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: 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