Skip to content

feat(auth): pin the slack install to one workspace via SLACK_TEAM_ID #474

feat(auth): pin the slack install to one workspace via SLACK_TEAM_ID

feat(auth): pin the slack install to one workspace via SLACK_TEAM_ID #474

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches: [main, release]
concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
env:
TURBO_TELEMETRY_DISABLED: 1
DO_NOT_TRACK: 1
jobs:
check:
name: check-types, lint, test
runs-on: ubuntu-24.04
timeout-minutes: 20
services:
postgres:
image: postgres:17-alpine
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: crm_test
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U postgres -d crm_test"
--health-interval 3s
--health-timeout 5s
--health-retries 20
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/crm_test?schema=public
TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/crm_test?schema=public
ALLOWED_SIGN_IN: example.com
BETTER_AUTH_SECRET: ci-only-secret-regenerate-for-any-real-deployment
API_URL: http://localhost:3001
APP_URL: http://localhost:3000
GOOGLE_CLIENT_ID: ci-only-google-client-id
GOOGLE_CLIENT_SECRET: ci-only-google-client-secret
steps:
- uses: actions/checkout@v5
- uses: oven-sh/setup-bun@v2
with:
bun-version-file: package.json
- run: bun install --frozen-lockfile
- name: Apply migrations
run: bun run db:deploy
- run: bun run check-types
- run: bun run lint
- run: bun run lint:slop
- run: bun run test