Skip to content

feat(evohub): registra webhook inbound no hub durante o link-existing #940

feat(evohub): registra webhook inbound no hub durante o link-existing

feat(evohub): registra webhook inbound no hub durante o link-existing #940

name: Check Code Quality
on:
pull_request:
branches: [ main, develop ]
push:
branches: [ main, develop ]
jobs:
check-lint-and-build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
- name: Install Node
uses: actions/setup-node@v5
with:
node-version: 20.x
- name: Cache node modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install packages
run: npm ci
- name: Check linting
run: npm run lint:check
- name: Generate Prisma client
run: npm run db:generate
env:
# prisma.config.ts resolves datasource.url from this variable when the Prisma CLI
# loads, and there is no .env on the runner. `prisma generate` never opens a
# connection, so any syntactically valid URI works.
DATABASE_PROVIDER: postgresql
DATABASE_CONNECTION_URI: postgresql://user:pass@localhost:5432/evolution?schema=public
- name: Check build
run: npm run build