Skip to content

fix(deps): update ai sdk packages - autoclosed #417

fix(deps): update ai sdk packages - autoclosed

fix(deps): update ai sdk packages - autoclosed #417

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main, develop]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
typecheck:
name: Type Check
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Type check
run: pnpm check:types
test:
name: Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Test with coverage
run: pnpm test -- --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./packages/*/coverage/lcov.info,./apps/*/coverage/lcov.info
flags: unittests
fail_ci_if_error: false
verbose: true
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 15
needs: [lint, typecheck, test]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Cache Turbo build
uses: actions/cache@v4
with:
path: .turbo
key: turbo-${{ runner.os }}-${{ github.sha }}
restore-keys: |
turbo-${{ runner.os }}-
- name: Build
run: pnpm build
env:
DEPLOYMENT_MODE: saas
NEXT_PUBLIC_DEPLOYMENT_MODE: saas
BETTER_AUTH_SECRET: ci-build-secret-placeholder-32chars
BETTER_AUTH_URL: http://localhost:3000
DATABASE_URL: postgresql://ci:ci@localhost:5432/ci
ENCRYPTION_KEY: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
NEXT_PUBLIC_APP_URL: http://localhost:3000
NEXT_PUBLIC_SENTRY_DISABLED: true
e2e:
name: E2E Tests
runs-on: ubuntu-latest
timeout-minutes: 20
needs: [build]
env:
DEPLOYMENT_MODE: saas
NEXT_PUBLIC_DEPLOYMENT_MODE: saas
BETTER_AUTH_SECRET: ci-build-secret-placeholder-32chars
BETTER_AUTH_URL: http://localhost:3000
DATABASE_URL: postgresql://ci:ci@localhost:5432/ci
ENCRYPTION_KEY: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
NEXT_PUBLIC_APP_URL: http://localhost:3000
NEXT_PUBLIC_SENTRY_DISABLED: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright browsers
run: pnpm --filter @lmring/web exec playwright install --with-deps chromium firefox
- name: Build
run: pnpm build
- name: Run E2E tests
run: pnpm test:e2e
env:
PLAYWRIGHT_BASE_URL: http://localhost:3000
- name: Upload Playwright report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: apps/web/playwright-report/
retention-days: 14