Skip to content

chore(deps): update dependency type-fest to v4.32.0 (#72) #176

chore(deps): update dependency type-fest to v4.32.0 (#72)

chore(deps): update dependency type-fest to v4.32.0 (#72) #176

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
steps:
- name: "Start setting up database containers"
run: |
# start preparing the database containers, if you run tests before these start up, you may get an error
docker run -d -p 5432:5432 -e POSTGRES_DB=typefusion -e POSTGRES_PASSWORD=password postgres:alpine
docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=typefusion mysql:latest
docker run -d -p 8123:8123 clickhouse/clickhouse-server:latest
- 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://localhost:8123/
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}