Skip to content

bug: ci 에러 수정 #3

bug: ci 에러 수정

bug: ci 에러 수정 #3

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
type_check:
runs-on: ubuntu-latest
env:
TURBO_TELEMETRY_DISABLED: 1
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.15.1
- uses: actions/setup-node@v4
with:
node-version: 20.19.0
cache: pnpm
- name: Cache turbo
uses: actions/cache@v4
with:
path: .turbo
key: turbo-${{ runner.os }}-typecheck-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm install --frozen-lockfile
- name: Type check
run: pnpm -w type-check
lint:
runs-on: ubuntu-latest
env:
TURBO_TELEMETRY_DISABLED: 1
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.15.1
- uses: actions/setup-node@v4
with:
node-version: 20.19.0
cache: pnpm
- name: Cache turbo
uses: actions/cache@v4
with:
path: .turbo
key: turbo-${{ runner.os }}-lint-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm -w lint
db_generate:
runs-on: ubuntu-latest
env:
TURBO_TELEMETRY_DISABLED: 1
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.15.1
- uses: actions/setup-node@v4
with:
node-version: 20.19.0
cache: pnpm
- name: Cache turbo
uses: actions/cache@v4
with:
path: .turbo
key: turbo-${{ runner.os }}-dbgen-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm install --frozen-lockfile
- name: Prisma generate
run: pnpm -w db:generate
summarizer_test:
runs-on: ubuntu-latest
env:
TURBO_TELEMETRY_DISABLED: 1
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.15.1
- uses: actions/setup-node@v4
with:
node-version: 20.19.0
cache: pnpm
- name: Cache turbo
uses: actions/cache@v4
with:
path: .turbo
key: turbo-${{ runner.os }}-summarizer-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm install --frozen-lockfile
- name: Summarizer tests
run: pnpm --filter @tech-radar/summarizer test