Skip to content

chore(deps): update pnpm to v10 #213

chore(deps): update pnpm to v10

chore(deps): update pnpm to v10 #213

Workflow file for this run

name: CI
on:
pull_request:
branches: ["*"]
push:
branches: ["main"]
merge_group:
env:
HUSKY: 0
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:alpine
env:
POSTGRES_DB: typefusion
POSTGRES_PASSWORD: password
ports:
- 5432:5432
mysql:
image: mysql:latest
env:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: typefusion
ports:
- 3306:3306
clickhouse:
image: clickhouse/clickhouse-server:latest
env:
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: 1
CLICKHOUSE_USER: default
CLICKHOUSE_PASSWORD: password
ports:
- 8123:8123
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup Node 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"
- name: Install deps
run: pnpm install
- name: Build and lint and type-check
run: pnpm build && pnpm turbo --env-mode=loose lint test-ci typecheck
env:
PG_DATABASE_URL: postgres://postgres:password@localhost:5432/typefusion?sslmode=disable
MYSQL_DATABASE_URL: mysql://root:password@localhost:3306/typefusion
CLICKHOUSE_DATABASE_URL: http://default:password@localhost:8123/
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}