Skip to content

Merge pull request #199 from pedrolivaresanchez/feat/improve-voluntom… #326

Merge pull request #199 from pedrolivaresanchez/feat/improve-voluntom…

Merge pull request #199 from pedrolivaresanchez/feat/improve-voluntom… #326

name: Code quality checks
on:
push:
branches:
- '**'
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
- name: Check formatting
run: npm run prettier:check
- name: Build app
env:
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
run: npm run build