Skip to content

3.0.0

3.0.0 #243

Workflow file for this run

name: CI
# Controls when the workflow will run
on:
pull_request:
branches: [master, main, /^\d+\.\d+\.\d+$/]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "pnpm"
- run: pnpm install
- run: pnpm run setup
env:
PGUSER: postgres
PGPASSWORD: postgres
PGHOST: localhost
PGDATABASE: postgres
- run: pnpm build
- run: pnpm lint
- run: pnpm run prettier
- run: pnpm test